Searched refs:StateLoc (Results 1 – 6 of 6) sorted by relevance
/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/clang/unittests/Lex/ |
D | PPCallbacksTest.cpp | 95 clang::SourceLocation StateLoc, in PragmaOpenCLExtension() argument 99 this->StateLoc = StateLoc; in PragmaOpenCLExtension() 105 SourceLocation StateLoc; member in __anonf86715790111::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/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()
|