Home
last modified time | relevance | path

Searched refs:StateLoc (Results 1 – 6 of 6) sorted by relevance

/external/clang/lib/Sema/
DSemaStmtAttr.cpp60 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/
DLoopHint.h34 IdentifierLoc *StateLoc; member
39 : PragmaNameLoc(nullptr), OptionLoc(nullptr), StateLoc(nullptr), in LoopHint()
/external/clang/unittests/Lex/
DPPCallbacksTest.cpp95 clang::SourceLocation StateLoc, in PragmaOpenCLExtension() argument
99 this->StateLoc = StateLoc; in PragmaOpenCLExtension()
105 SourceLocation StateLoc; member in __anonf86715790111::PragmaOpenCLExtensionCallbacks
/external/clang/include/clang/Lex/
DPPCallbacks.h224 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/
DParsePragma.cpp854 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()
DParseStmt.cpp1918 ArgsUnion ArgHints[] = {Hint.PragmaNameLoc, Hint.OptionLoc, Hint.StateLoc, in ParsePragmaLoopHint()