Searched refs:StateLoc (Results 1 – 6 of 6) sorted by relevance
/external/clang/lib/Sema/ |
D | SemaStmtAttr.cpp | 50 IdentifierLoc *StateLoc = A.getArgAsIdent(2); in handleLoopHintAttr() local 111 assert(StateLoc && StateLoc->Ident && "Loop hint must have an argument"); in handleLoopHintAttr() 112 if (StateLoc->Ident->isStr("disable")) in handleLoopHintAttr() 114 else if (StateLoc->Ident->isStr("assume_safety")) in handleLoopHintAttr() 116 else if (StateLoc->Ident->isStr("full")) in handleLoopHintAttr() 118 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 __anon5d7da8300111::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 | 834 SourceLocation StateLoc = Toks[0].getLocation(); in HandlePragmaLoopHint() local 847 Hint.StateLoc = IdentifierLoc::create(Actions.Context, StateLoc, StateInfo); in HandlePragmaLoopHint() 1437 SourceLocation StateLoc = Tok.getLocation(); in HandlePragma() local 1455 Toks[0].setAnnotationEndLoc(StateLoc); in HandlePragma() 1461 StateLoc, state); in HandlePragma()
|
D | ParseStmt.cpp | 1876 ArgsUnion ArgHints[] = {Hint.PragmaNameLoc, Hint.OptionLoc, Hint.StateLoc, in ParsePragmaLoopHint()
|