/external/clang/lib/Sema/ |
D | SemaStmtAttr.cpp | 60 IdentifierLoc *StateLoc = A.getArgAsIdent(2); in handleLoopHintAttr() local 123 assert(StateLoc && StateLoc->Ident && "Loop hint must have an argument"); in handleLoopHintAttr() 124 if (StateLoc->Ident->isStr("disable")) in handleLoopHintAttr() 126 else if (StateLoc->Ident->isStr("assume_safety")) in handleLoopHintAttr() 128 else if (StateLoc->Ident->isStr("full")) in handleLoopHintAttr() 130 else if (StateLoc->Ident->isStr("enable")) in handleLoopHintAttr()
|
/external/clang/include/clang/Sema/ |
D | LoopHint.h | 34 IdentifierLoc *StateLoc; member 39 : PragmaNameLoc(nullptr), OptionLoc(nullptr), StateLoc(nullptr), in LoopHint()
|
/external/llvm-project/clang/include/clang/Parse/ |
D | LoopHint.h | 33 IdentifierLoc *StateLoc; member 38 : PragmaNameLoc(nullptr), OptionLoc(nullptr), StateLoc(nullptr), in LoopHint()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaStmtAttr.cpp | 81 IdentifierLoc *StateLoc = A.getArgAsIdent(2); in handleLoopHintAttr() local 156 assert(StateLoc && StateLoc->Ident && "Loop hint must have an argument"); in handleLoopHintAttr() 157 if (StateLoc->Ident->isStr("disable")) in handleLoopHintAttr() 159 else if (StateLoc->Ident->isStr("assume_safety")) in handleLoopHintAttr() 161 else if (StateLoc->Ident->isStr("full")) in handleLoopHintAttr() 163 else if (StateLoc->Ident->isStr("enable")) in handleLoopHintAttr()
|
/external/clang/unittests/Lex/ |
D | PPCallbacksTest.cpp | 95 clang::SourceLocation StateLoc, in PragmaOpenCLExtension() argument 99 this->StateLoc = StateLoc; in PragmaOpenCLExtension() 105 SourceLocation StateLoc; member in __anon701ea7170111::PragmaOpenCLExtensionCallbacks
|
/external/clang/include/clang/Lex/ |
D | PPCallbacks.h | 224 SourceLocation StateLoc, unsigned State) { in PragmaOpenCLExtension() argument 417 SourceLocation StateLoc, unsigned State) override { in PragmaOpenCLExtension() argument 418 First->PragmaOpenCLExtension(NameLoc, Name, StateLoc, State); in PragmaOpenCLExtension() 419 Second->PragmaOpenCLExtension(NameLoc, Name, StateLoc, State); in PragmaOpenCLExtension()
|
/external/llvm-project/clang/unittests/Lex/ |
D | PPCallbacksTest.cpp | 101 clang::SourceLocation StateLoc, in PragmaOpenCLExtension() argument 105 this->StateLoc = StateLoc; in PragmaOpenCLExtension() 111 SourceLocation StateLoc; member in __anon51328c050111::PragmaOpenCLExtensionCallbacks
|
/external/llvm-project/clang/include/clang/Lex/ |
D | PPCallbacks.h | 247 SourceLocation StateLoc, unsigned State) { in PragmaOpenCLExtension() argument 497 SourceLocation StateLoc, unsigned State) override { in PragmaOpenCLExtension() argument 498 First->PragmaOpenCLExtension(NameLoc, Name, StateLoc, State); in PragmaOpenCLExtension() 499 Second->PragmaOpenCLExtension(NameLoc, Name, StateLoc, State); in PragmaOpenCLExtension()
|
/external/llvm-project/clang-tools-extra/clang-tidy/ |
D | ExpandModularHeadersPPCallbacks.h | 96 SourceLocation StateLoc, unsigned) override;
|
D | ExpandModularHeadersPPCallbacks.cpp | 231 SourceLocation NameLoc, const IdentifierInfo *, SourceLocation StateLoc, in PragmaOpenCLExtension() argument
|
/external/llvm-project/clang-tools-extra/pp-trace/ |
D | PPCallbacksTracker.cpp | 259 SourceLocation StateLoc, in PragmaOpenCLExtension() argument 264 appendArgument("StateLoc", StateLoc); in PragmaOpenCLExtension()
|
D | PPCallbacksTracker.h | 123 SourceLocation StateLoc, unsigned State) override;
|
/external/clang/lib/Parse/ |
D | ParsePragma.cpp | 854 SourceLocation StateLoc = Toks[0].getLocation(); in HandlePragmaLoopHint() local 872 Hint.StateLoc = IdentifierLoc::create(Actions.Context, StateLoc, StateInfo); in HandlePragmaLoopHint() 1438 SourceLocation StateLoc = Tok.getLocation(); in HandlePragma() local 1454 Toks[0].setAnnotationEndLoc(StateLoc); in HandlePragma() 1459 StateLoc, state); in HandlePragma()
|
D | ParseStmt.cpp | 1918 ArgsUnion ArgHints[] = {Hint.PragmaNameLoc, Hint.OptionLoc, Hint.StateLoc, in ParsePragmaLoopHint()
|
/external/llvm-project/clang/lib/Parse/ |
D | ParsePragma.cpp | 1166 SourceLocation StateLoc = Toks[0].getLocation(); in HandlePragmaLoopHint() local 1189 Hint.StateLoc = IdentifierLoc::create(Actions.Context, StateLoc, StateInfo); in HandlePragmaLoopHint() 2246 SourceLocation StateLoc = Tok.getLocation(); in HandlePragma() local 2264 Toks[0].setAnnotationEndLoc(StateLoc); in HandlePragma() 2270 StateLoc, State); in HandlePragma()
|
D | ParseStmt.cpp | 2221 ArgsUnion ArgHints[] = {Hint.PragmaNameLoc, Hint.OptionLoc, Hint.StateLoc, in ParsePragmaLoopHint()
|
/external/llvm-project/clang-tools-extra/docs/ |
D | pp-trace.rst | 499 StateLoc "(file):(line):(col)" SourceLocation … 508 StateLoc: "D:/Clang/llvm/clang-tools-extra/test/pp-trace/pp-trace-pragma.cpp:3:18"
|