Home
last modified time | relevance | path

Searched refs:StateLoc (Results 1 – 17 of 17) 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/llvm-project/clang/include/clang/Parse/
DLoopHint.h33 IdentifierLoc *StateLoc; member
38 : PragmaNameLoc(nullptr), OptionLoc(nullptr), StateLoc(nullptr), in LoopHint()
/external/llvm-project/clang/lib/Sema/
DSemaStmtAttr.cpp81 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/
DPPCallbacksTest.cpp95 clang::SourceLocation StateLoc, in PragmaOpenCLExtension() argument
99 this->StateLoc = StateLoc; in PragmaOpenCLExtension()
105 SourceLocation StateLoc; member in __anon701ea7170111::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/llvm-project/clang/unittests/Lex/
DPPCallbacksTest.cpp101 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/
DPPCallbacks.h247 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/
DExpandModularHeadersPPCallbacks.h96 SourceLocation StateLoc, unsigned) override;
DExpandModularHeadersPPCallbacks.cpp231 SourceLocation NameLoc, const IdentifierInfo *, SourceLocation StateLoc, in PragmaOpenCLExtension() argument
/external/llvm-project/clang-tools-extra/pp-trace/
DPPCallbacksTracker.cpp259 SourceLocation StateLoc, in PragmaOpenCLExtension() argument
264 appendArgument("StateLoc", StateLoc); in PragmaOpenCLExtension()
DPPCallbacksTracker.h123 SourceLocation StateLoc, unsigned State) override;
/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()
/external/llvm-project/clang/lib/Parse/
DParsePragma.cpp1166 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()
DParseStmt.cpp2221 ArgsUnion ArgHints[] = {Hint.PragmaNameLoc, Hint.OptionLoc, Hint.StateLoc, in ParsePragmaLoopHint()
/external/llvm-project/clang-tools-extra/docs/
Dpp-trace.rst499 StateLoc "(file):(line):(col)" SourceLocation …
508 StateLoc: "D:/Clang/llvm/clang-tools-extra/test/pp-trace/pp-trace-pragma.cpp:3:18"