Home
last modified time | relevance | path

Searched refs:PragmaName (Results 1 – 9 of 9) sorted by relevance

/external/clang/lib/Parse/
DParsePragma.cpp523 StringRef PragmaName = Tok.getIdentifierInfo()->getName(); in HandlePragmaMSPragma() local
529 PragmaHandler Handler = llvm::StringSwitch<PragmaHandler>(PragmaName) in HandlePragmaMSPragma()
537 if (!(this->*Handler)(PragmaName, PragmaLocation)) { in HandlePragmaMSPragma()
546 bool Parser::HandlePragmaMSSection(StringRef PragmaName, in HandlePragmaMSSection() argument
549 PP.Diag(PragmaLocation, diag::warn_pragma_expected_lparen) << PragmaName; in HandlePragmaMSSection()
556 << PragmaName; in HandlePragmaMSSection()
565 << PragmaName; in HandlePragmaMSSection()
582 << PragmaName; in HandlePragmaMSSection()
601 << PragmaName << Tok.getIdentifierInfo()->getName(); in HandlePragmaMSSection()
613 PP.Diag(PragmaLocation, diag::warn_pragma_expected_rparen) << PragmaName; in HandlePragmaMSSection()
[all …]
/external/llvm-project/clang/lib/Parse/
DParsePragma.cpp106 Token PragmaName = Tok; in HandlePragma() local
109 << PragmaName.getIdentifierInfo()->getName(); in HandlePragma()
827 StringRef PragmaName = Tok.getIdentifierInfo()->getName(); in HandlePragmaMSPragma() local
833 PragmaHandler Handler = llvm::StringSwitch<PragmaHandler>(PragmaName) in HandlePragmaMSPragma()
841 if (!(this->*Handler)(PragmaName, PragmaLocation)) { in HandlePragmaMSPragma()
850 bool Parser::HandlePragmaMSSection(StringRef PragmaName, in HandlePragmaMSSection() argument
853 PP.Diag(PragmaLocation, diag::warn_pragma_expected_lparen) << PragmaName; in HandlePragmaMSSection()
860 << PragmaName; in HandlePragmaMSSection()
869 << PragmaName; in HandlePragmaMSSection()
886 << PragmaName; in HandlePragmaMSSection()
[all …]
/external/llvm-project/clang/lib/Sema/
DSemaStmtAttr.cpp84 StringRef PragmaName = in handleLoopHintAttr() local
94 std::string Pragma = "#pragma " + std::string(PragmaName); in handleLoopHintAttr()
108 if (PragmaName == "nounroll") { in handleLoopHintAttr()
110 } else if (PragmaName == "unroll") { in handleLoopHintAttr()
116 } else if (PragmaName == "nounroll_and_jam") { in handleLoopHintAttr()
118 } else if (PragmaName == "unroll_and_jam") { in handleLoopHintAttr()
DSemaAttr.cpp543 llvm::StringRef PragmaName) { in ActOnPragmaMSSeg() argument
545 llvm::StringSwitch<PragmaStack<StringLiteral *> *>(PragmaName) in ActOnPragmaMSSeg()
551 Diag(PragmaLocation, diag::warn_pragma_pop_failed) << PragmaName in ActOnPragmaMSSeg()
559 Diag(PragmaLocation, diag::warn_attribute_section_drectve) << PragmaName; in ActOnPragmaMSSeg()
/external/clang/lib/Sema/
DSemaAttr.cpp299 llvm::StringRef PragmaName) { in ActOnPragmaMSSeg() argument
301 llvm::StringSwitch<PragmaStack<StringLiteral *> *>(PragmaName) in ActOnPragmaMSSeg()
307 Diag(PragmaLocation, diag::warn_pragma_pop_failed) << PragmaName in ActOnPragmaMSSeg()
/external/clang/include/clang/Parse/
DParser.h499 bool HandlePragmaMSSection(StringRef PragmaName,
501 bool HandlePragmaMSSegment(StringRef PragmaName,
503 bool HandlePragmaMSInitSeg(StringRef PragmaName,
/external/llvm-project/clang/include/clang/Parse/
DParser.h709 bool HandlePragmaMSSection(StringRef PragmaName,
711 bool HandlePragmaMSSegment(StringRef PragmaName,
713 bool HandlePragmaMSInitSeg(StringRef PragmaName,
/external/clang/include/clang/Sema/
DSema.h7770 llvm::StringRef PragmaName);
/external/llvm-project/clang/include/clang/Sema/
DSema.h9771 llvm::StringRef PragmaName);