Home
last modified time | relevance | path

Searched refs:getPPKeywordID (Results 1 – 16 of 16) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DSuspiciousIncludeCheck.cpp78 if (IncludeTok.getIdentifierInfo()->getPPKeywordID() == tok::pp_import) in InclusionDirective()
/llvm-project-15.0.7/clang/lib/Lex/
H A DPPDirectives.cpp336 if ((isDefineUndef != MU_Other) && II->getPPKeywordID() == tok::pp_defined) { in CheckMacroName()
1108 if (II->getPPKeywordID() == tok::pp_define) { in HandleSkippedDirectiveWhileUsingPCH()
1113 II->getPPKeywordID() == tok::pp_include) { in HandleSkippedDirectiveWhileUsingPCH()
1116 if (SkippingUntilPragmaHdrStop && II->getPPKeywordID() == tok::pp_pragma) { in HandleSkippedDirectiveWhileUsingPCH()
1167 switch (II->getPPKeywordID()) { in HandleDirective()
1210 switch (II->getPPKeywordID()) { in HandleDirective()
1224 return HandleElifFamilyDirective(Result, SavedHash, II->getPPKeywordID()); in HandleDirective()
1826 switch (IncludeTok.getIdentifierInfo()->getPPKeywordID()) { in diagnoseAutoModuleImport()
2322 IncludeTok.getIdentifierInfo()->getPPKeywordID() == tok::pp_import; in HandleHeaderIncludeOrImport()
2497 if (IncludeTok.getIdentifierInfo()->getPPKeywordID() == in HandleHeaderIncludeOrImport()
H A DPreprocessingRecord.cpp491 switch (IncludeTok.getIdentifierInfo()->getPPKeywordID()) { in InclusionDirective()
/llvm-project-15.0.7/clang/lib/Frontend/Rewrite/
H A DInclusionRewriter.cpp395 switch (RawToken.getIdentifierInfo()->getPPKeywordID()) { in Process()
450 bool elif = (RawToken.getIdentifierInfo()->getPPKeywordID() == in Process()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DHeaders.cpp72 Inc.Directive = IncludeTok.getIdentifierInfo()->getPPKeywordID(); in InclusionDirective()
/llvm-project-15.0.7/clang-tools-extra/pseudo/lib/
H A DDirectiveTree.cpp136 D->Kind = PPKeywords.get(Tokens.front().text()).getPPKeywordID(); in parseDirective()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DIdentifierTable.h286 tok::PPKeywordKind getPPKeywordID() const; in alignas()
H A DTokenKinds.def92 // the tok::pp_* namespace. Note that IdentifierInfo::getPPKeywordID must be
/llvm-project-15.0.7/clang/lib/Basic/
H A DIdentifierTable.cpp324 tok::PPKeywordKind IdentifierInfo::getPPKeywordID() const { in getPPKeywordID() function in IdentifierInfo
/llvm-project-15.0.7/clang/lib/Format/
H A DFormatToken.h516 Tok.getIdentifierInfo()->getPPKeywordID() == Kind; in is()
1686 switch (Info->getPPKeywordID()) { in isVerilogPPDirective()
H A DFormatTokenLexer.cpp1090 Tokens.back()->Tok.getIdentifierInfo()->getPPKeywordID() ==
H A DTokenAnnotator.cpp1351 switch (CurrentToken->Tok.getIdentifierInfo()->getPPKeywordID()) { in parsePreprocessorDirective()
1408 (Info && Info->getPPKeywordID() == tok::pp_import && in parseLine()
H A DContinuationIndenter.cpp603 Previous.Tok.getIdentifierInfo()->getPPKeywordID() == in addTokenToState()
H A DUnwrappedLineParser.cpp1064 switch (FormatTok->Tok.getIdentifierInfo()->getPPKeywordID()) { in parsePPDirective()
/llvm-project-15.0.7/clang/lib/Frontend/
H A DPrintPreprocessedOutput.cpp416 switch (IncludeTok.getIdentifierInfo()->getPPKeywordID()) { in InclusionDirective()
/llvm-project-15.0.7/clang/tools/libclang/
H A DIndexing.cpp269 IncludeTok.getIdentifierInfo()->getPPKeywordID() == tok::pp_import); in InclusionDirective()