1 //===--- LoopHint.h - Types for LoopHint ------------------------*- C++ -*-===// 2 // 3 // The LLVM Compiler Infrastructure 4 // 5 // This file is distributed under the University of Illinois Open Source 6 // License. See LICENSE.TXT for details. 7 // 8 //===----------------------------------------------------------------------===// 9 10 #ifndef LLVM_CLANG_SEMA_LOOPHINT_H 11 #define LLVM_CLANG_SEMA_LOOPHINT_H 12 13 #include "clang/Basic/IdentifierTable.h" 14 #include "clang/Basic/SourceLocation.h" 15 #include "clang/Sema/AttributeList.h" 16 #include "clang/Sema/Ownership.h" 17 18 namespace clang { 19 20 /// \brief Loop hint specified by a pragma loop directive. 21 struct LoopHint { 22 SourceRange Range; 23 Expr *ValueExpr; 24 IdentifierLoc *LoopLoc; 25 IdentifierLoc *ValueLoc; 26 IdentifierLoc *OptionLoc; 27 }; 28 29 } // end namespace clang 30 31 #endif // LLVM_CLANG_SEMA_LOOPHINT_H 32