/external/clang/lib/Lex/ |
D | Preprocessor.cpp | 117 (Ident__VA_ARGS__ = getIdentifierInfo("__VA_ARGS__"))->setIsPoisoned(); in Preprocessor() 127 Ident__exception_info = getIdentifierInfo("_exception_info"); in Preprocessor() 128 Ident___exception_info = getIdentifierInfo("__exception_info"); in Preprocessor() 129 Ident_GetExceptionInfo = getIdentifierInfo("GetExceptionInformation"); in Preprocessor() 130 Ident__exception_code = getIdentifierInfo("_exception_code"); in Preprocessor() 131 Ident___exception_code = getIdentifierInfo("__exception_code"); in Preprocessor() 132 Ident_GetExceptionCode = getIdentifierInfo("GetExceptionCode"); in Preprocessor() 133 Ident__abnormal_termination = getIdentifierInfo("_abnormal_termination"); in Preprocessor() 134 Ident___abnormal_termination = getIdentifierInfo("__abnormal_termination"); in Preprocessor() 135 Ident_AbnormalTermination = getIdentifierInfo("AbnormalTermination"); in Preprocessor() [all …]
|
D | MacroInfo.cpp | 106 if (A.getIdentifierInfo() || B.getIdentifierInfo()) { in isIdenticalTo() 107 if (A.getIdentifierInfo() == B.getIdentifierInfo()) in isIdenticalTo() 113 int AArgNum = getArgumentNum(A.getIdentifierInfo()); in isIdenticalTo() 116 if (AArgNum != Other.getArgumentNum(B.getIdentifierInfo())) in isIdenticalTo() 169 else if (auto *II = Tok.getIdentifierInfo()) in dump()
|
D | PPDirectives.cpp | 228 IdentifierInfo *II = MacroNameTok.getIdentifierInfo(); in CheckMacroName() 234 II = getIdentifierInfo(Spelling); in CheckMacroName() 603 tok::PPKeywordKind K = Tok.getIdentifierInfo()->getPPKeywordID(); in PTHSkipExcludedConditionalBlock() 934 if (IdentifierInfo *II = Result.getIdentifierInfo()) { in HandleDirective() 969 IdentifierInfo *II = Result.getIdentifierInfo(); in HandleDirective() 1429 IdentifierInfo *II = MacroNameTok.getIdentifierInfo(); in HandleMacroPublicDirective() 1456 IdentifierInfo *II = MacroNameTok.getIdentifierInfo(); in HandleMacroPrivateDirective() 1612 switch (IncludeTok.getIdentifierInfo()->getPPKeywordID()) { in diagnoseAutoModuleImport() 1736 CheckEndOfDirective(IncludeTok.getIdentifierInfo()->getNameStart(), true); in HandleIncludeDirective() 1882 Path.push_back(std::make_pair(getIdentifierInfo(Mod->Name), in HandleIncludeDirective() [all …]
|
D | PPMacroExpansion.cpp | 280 IdentifierInfo *Id = PP.getIdentifierInfo(Name); in RegisterBuiltinMacro() 345 IdentifierInfo *II = MI->getReplacementToken(0).getIdentifierInfo(); in isTrivialSingleTokenExpansion() 497 << Identifier.getIdentifierInfo(); in HandleMacroExpandedIdentifier() 499 << Identifier.getIdentifierInfo(); in HandleMacroExpandedIdentifier() 503 << Identifier.getIdentifierInfo(); in HandleMacroExpandedIdentifier() 522 isTrivialSingleTokenExpansion(MI, Identifier.getIdentifierInfo(), in HandleMacroExpandedIdentifier() 552 if (IdentifierInfo *NewII = Identifier.getIdentifierInfo()) { in HandleMacroExpandedIdentifier() 754 << MacroName.getIdentifierInfo(); in ReadFunctionLikeMacroArgs() 792 } else if (!Tok.isAnnotation() && Tok.getIdentifierInfo() != nullptr) { in ReadFunctionLikeMacroArgs() 799 if (MacroInfo *MI = getMacroInfo(Tok.getIdentifierInfo())) in ReadFunctionLikeMacroArgs() [all …]
|
D | TokenConcatenation.cpp | 126 if (IdentifierInfo *II = Tok.getIdentifierInfo()) { in GetFirstChar() 170 if (!PrevTok.isAnnotation() && PrevTok.getIdentifierInfo()) in AvoidConcat() 228 if (Tok.getIdentifierInfo()) in AvoidConcat() 241 if (Tok.getIdentifierInfo() || in AvoidConcat()
|
/external/llvm-project/clang/lib/Frontend/Rewrite/ |
D | RewriteMacros.cpp | 31 PPTok.getIdentifierInfo() == RawTok.getIdentifierInfo()) in isSameToken() 37 if (PPTok.getIdentifierInfo() && in isSameToken() 38 PPTok.getIdentifierInfo() == RawTok.getIdentifierInfo()) in isSameToken() 130 const IdentifierInfo *II = RawTokens[CurRawTok].getIdentifierInfo(); in RewriteMacrosInInput() 136 (RawTokens[CurRawTok+1].getIdentifierInfo()->getName() == in RewriteMacrosInInput()
|
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteMacros.cpp | 32 PPTok.getIdentifierInfo() == RawTok.getIdentifierInfo()) in isSameToken() 38 if (PPTok.getIdentifierInfo() && in isSameToken() 39 PPTok.getIdentifierInfo() == RawTok.getIdentifierInfo()) in isSameToken() 131 const IdentifierInfo *II = RawTokens[CurRawTok].getIdentifierInfo(); in RewriteMacrosInInput() 137 (RawTokens[CurRawTok+1].getIdentifierInfo()->getName() == in RewriteMacrosInInput()
|
/external/llvm-project/clang/lib/Lex/ |
D | Preprocessor.cpp | 120 (Ident__VA_ARGS__ = getIdentifierInfo("__VA_ARGS__"))->setIsPoisoned(); in Preprocessor() 123 (Ident__VA_OPT__ = getIdentifierInfo("__VA_OPT__"))->setIsPoisoned(); in Preprocessor() 136 Ident__exception_info = getIdentifierInfo("_exception_info"); in Preprocessor() 137 Ident___exception_info = getIdentifierInfo("__exception_info"); in Preprocessor() 138 Ident_GetExceptionInfo = getIdentifierInfo("GetExceptionInformation"); in Preprocessor() 139 Ident__exception_code = getIdentifierInfo("_exception_code"); in Preprocessor() 140 Ident___exception_code = getIdentifierInfo("__exception_code"); in Preprocessor() 141 Ident_GetExceptionCode = getIdentifierInfo("GetExceptionCode"); in Preprocessor() 142 Ident__abnormal_termination = getIdentifierInfo("_abnormal_termination"); in Preprocessor() 143 Ident___abnormal_termination = getIdentifierInfo("__abnormal_termination"); in Preprocessor() [all …]
|
D | MacroInfo.cpp | 109 if (A.getIdentifierInfo() || B.getIdentifierInfo()) { in isIdenticalTo() 110 if (A.getIdentifierInfo() == B.getIdentifierInfo()) in isIdenticalTo() 116 int AArgNum = getParameterNum(A.getIdentifierInfo()); in isIdenticalTo() 119 if (AArgNum != Other.getParameterNum(B.getIdentifierInfo())) in isIdenticalTo() 171 else if (auto *II = Tok.getIdentifierInfo()) in dump()
|
D | PPMacroExpansion.cpp | 328 IdentifierInfo *Id = PP.getIdentifierInfo(Name); in RegisterBuiltinMacro() 403 IdentifierInfo *II = MI->getReplacementToken(0).getIdentifierInfo(); in isTrivialSingleTokenExpansion() 550 << Identifier.getIdentifierInfo(); in HandleMacroExpandedIdentifier() 552 << Identifier.getIdentifierInfo(); in HandleMacroExpandedIdentifier() 556 << Identifier.getIdentifierInfo(); in HandleMacroExpandedIdentifier() 575 isTrivialSingleTokenExpansion(MI, Identifier.getIdentifierInfo(), in HandleMacroExpandedIdentifier() 605 if (IdentifierInfo *NewII = Identifier.getIdentifierInfo()) { in HandleMacroExpandedIdentifier() 807 << MacroName.getIdentifierInfo(); in ReadMacroCallArgumentList() 853 } else if (!Tok.isAnnotation() && Tok.getIdentifierInfo() != nullptr) { in ReadMacroCallArgumentList() 860 if (MacroInfo *MI = getMacroInfo(Tok.getIdentifierInfo())) in ReadMacroCallArgumentList() [all …]
|
D | PPDirectives.cpp | 246 IdentifierInfo *II = MacroNameTok.getIdentifierInfo(); in CheckMacroName() 879 if (const IdentifierInfo *II = Result.getIdentifierInfo()) { in HandleSkippedDirectiveWhileUsingPCH() 890 auto *II = Result.getIdentifierInfo(); in HandleSkippedDirectiveWhileUsingPCH() 938 if (IdentifierInfo *II = Result.getIdentifierInfo()) { in HandleDirective() 947 << ArgMacro->getIdentifierInfo(); in HandleDirective() 978 IdentifierInfo *II = Result.getIdentifierInfo(); in HandleDirective() 1449 IdentifierInfo *II = MacroNameTok.getIdentifierInfo(); in HandleMacroPublicDirective() 1476 IdentifierInfo *II = MacroNameTok.getIdentifierInfo(); in HandleMacroPrivateDirective() 1585 switch (IncludeTok.getIdentifierInfo()->getPPKeywordID()) { in diagnoseAutoModuleImport() 1698 CheckEndOfDirective(IncludeTok.getIdentifierInfo()->getNameStart(), true); in HandleIncludeDirective() [all …]
|
D | TokenConcatenation.cpp | 129 if (IdentifierInfo *II = Tok.getIdentifierInfo()) { in GetFirstChar() 178 if (!PrevTok.isAnnotation() && PrevTok.getIdentifierInfo()) in AvoidConcat() 236 if (Tok.getIdentifierInfo()) in AvoidConcat() 249 if (Tok.getIdentifierInfo() || in AvoidConcat()
|
D | Pragma.cpp | 114 = FindHandler(Tok.getIdentifierInfo() ? Tok.getIdentifierInfo()->getName() in HandlePragma() 760 PP.getIdentifierInfo(Literal.GetString()), Tok.getLocation()); in LexModuleNameComponent() 761 } else if (!Tok.isAnnotation() && Tok.getIdentifierInfo()) { in LexModuleNameComponent() 763 std::make_pair(Tok.getIdentifierInfo(), Tok.getLocation()); in LexModuleNameComponent() 956 IdentifierInfo *II = Tok.getIdentifierInfo(); in LexOnOffSwitch() 1041 IdentifierInfo *II = Tok.getIdentifierInfo(); in HandlePragma() 1062 if (auto *DumpII = Identifier.getIdentifierInfo()) { in HandlePragma() 1098 auto *MacroII = MacroName.getIdentifierInfo(); in HandlePragma() 1187 IdentifierInfo *II = Tok.getIdentifierInfo(); in HandlePragma() 1285 IdentifierInfo *II = Tok.getIdentifierInfo(); in HandlePragma() [all …]
|
/external/llvm-project/clang/lib/Parse/ |
D | ParsePragma.cpp | 109 << PragmaName.getIdentifierInfo()->getName(); in HandlePragma() 622 Actions.ActOnPragmaWeakID(Tok.getIdentifierInfo(), PragmaLoc, in HandlePragmaWeak() 630 IdentifierInfo *WeakName = Tok.getIdentifierInfo(); in HandlePragmaWeakAlias() 633 IdentifierInfo *AliasName = Tok.getIdentifierInfo(); in HandlePragmaWeakAlias() 644 IdentifierInfo *RedefName = Tok.getIdentifierInfo(); in HandlePragmaRedefineExtname() 647 IdentifierInfo *AliasName = Tok.getIdentifierInfo(); in HandlePragmaRedefineExtname() 827 StringRef PragmaName = Tok.getIdentifierInfo()->getName(); in HandlePragmaMSPragma() 891 Tok.getIdentifierInfo()->getName()) in HandlePragmaMSSection() 905 << PragmaName << Tok.getIdentifierInfo()->getName(); in HandlePragmaMSSection() 941 StringRef PushPop = Tok.getIdentifierInfo()->getName(); in HandlePragmaMSSegment() [all …]
|
D | ParseDecl.cpp | 176 IdentifierInfo *AttrName = Tok.getIdentifierInfo(); in ParseGNUAttributes() 234 IdentifierInfo *MacroII = PP.getIdentifierInfo(FoundName); in ParseGNUAttributes() 297 Tok.getIdentifierInfo()); in ParseIdentifierLoc() 576 StringRef KindStr = Tok.getIdentifierInfo()->getName(); in ParseMicrosoftDeclSpecArgs() 629 AccessorNames[Kind] = Tok.getIdentifierInfo(); in ParseMicrosoftDeclSpecArgs() 713 AttrName = PP.getIdentifierInfo(Str); in ParseMicrosoftDeclSpecs() 716 AttrName = Tok.getIdentifierInfo(); in ParseMicrosoftDeclSpecs() 755 IdentifierInfo *AttrName = Tok.getIdentifierInfo(); in ParseMicrosoftTypeAttributes() 806 IdentifierInfo *AttrName = Tok.getIdentifierInfo(); in ParseBorlandTypeAttributes() 816 IdentifierInfo *AttrName = Tok.getIdentifierInfo(); in ParseOpenCLKernelAttributes() [all …]
|
D | Parser.cpp | 46 Ident__except = PP.getIdentifierInfo("__except"); in getSEHExceptKeyword() 218 if (const auto *II = Tok.getIdentifierInfo()) { in expectIdentifier() 221 << tok::identifier << Tok.getIdentifierInfo(); in expectIdentifier() 532 Ident__exception_info = PP.getIdentifierInfo("_exception_info"); in Initialize() 533 Ident___exception_info = PP.getIdentifierInfo("__exception_info"); in Initialize() 534 Ident_GetExceptionInfo = PP.getIdentifierInfo("GetExceptionInformation"); in Initialize() 535 Ident__exception_code = PP.getIdentifierInfo("_exception_code"); in Initialize() 536 Ident___exception_code = PP.getIdentifierInfo("__exception_code"); in Initialize() 537 Ident_GetExceptionCode = PP.getIdentifierInfo("GetExceptionCode"); in Initialize() 538 Ident__abnormal_termination = PP.getIdentifierInfo("_abnormal_termination"); in Initialize() [all …]
|
D | ParseObjc.cpp | 143 ClassNames.push_back(Tok.getIdentifierInfo()); in ParseObjCAtClassDeclaration() 233 IdentifierInfo *nameId = Tok.getIdentifierInfo(); in ParseObjCAtInterfaceDeclaration() 263 categoryId = Tok.getIdentifierInfo(); in ParseObjCAtInterfaceDeclaration() 318 superClassId = Tok.getIdentifierInfo(); in ParseObjCAtInterfaceDeclaration() 487 IdentifierInfo *paramName = Tok.getIdentifierInfo(); in parseObjCTypeParamListOrProtocolRefs() 853 const IdentifierInfo *II = Tok.getIdentifierInfo(); in ParseObjCPropertyAttribute() 1107 IdentifierInfo *II = Tok.getIdentifierInfo(); in ParseObjCSelectorPiece() 1120 Tok.getIdentifierInfo() == ObjCTypeQuals[objc_in]); in isTokIdentifier_in() 1157 const IdentifierInfo *II = Tok.getIdentifierInfo(); in ParseObjCTypeQualifierList() 1434 ArgInfo.Name = Tok.getIdentifierInfo(); in ParseObjCMethodDecl() [all …]
|
/external/clang/lib/Parse/ |
D | ParsePragma.cpp | 389 Actions.ActOnPragmaWeakID(Tok.getIdentifierInfo(), PragmaLoc, in HandlePragmaWeak() 397 IdentifierInfo *WeakName = Tok.getIdentifierInfo(); in HandlePragmaWeakAlias() 400 IdentifierInfo *AliasName = Tok.getIdentifierInfo(); in HandlePragmaWeakAlias() 411 IdentifierInfo *RedefName = Tok.getIdentifierInfo(); in HandlePragmaRedefineExtname() 414 IdentifierInfo *AliasName = Tok.getIdentifierInfo(); in HandlePragmaRedefineExtname() 523 StringRef PragmaName = Tok.getIdentifierInfo()->getName(); in HandlePragmaMSPragma() 587 Tok.getIdentifierInfo()->getName()) in HandlePragmaMSSection() 601 << PragmaName << Tok.getIdentifierInfo()->getName(); in HandlePragmaMSSection() 637 StringRef PushPop = Tok.getIdentifierInfo()->getName(); in HandlePragmaMSSegment() 654 SlotLabel = Tok.getIdentifierInfo()->getName(); in HandlePragmaMSSegment() [all …]
|
D | ParseDecl.cpp | 150 IdentifierInfo *AttrName = Tok.getIdentifierInfo(); in ParseGNUAttributes() 237 Tok.getIdentifierInfo()); in ParseIdentifierLoc() 436 StringRef KindStr = Tok.getIdentifierInfo()->getName(); in ParseMicrosoftDeclSpecArgs() 489 AccessorNames[Kind] = Tok.getIdentifierInfo(); in ParseMicrosoftDeclSpecArgs() 574 AttrName = PP.getIdentifierInfo(Str); in ParseMicrosoftDeclSpecs() 577 AttrName = Tok.getIdentifierInfo(); in ParseMicrosoftDeclSpecs() 615 IdentifierInfo *AttrName = Tok.getIdentifierInfo(); in ParseMicrosoftTypeAttributes() 666 IdentifierInfo *AttrName = Tok.getIdentifierInfo(); in ParseBorlandTypeAttributes() 676 IdentifierInfo *AttrName = Tok.getIdentifierInfo(); in ParseOpenCLKernelAttributes() 684 IdentifierInfo *AttrName = Tok.getIdentifierInfo(); in ParseOpenCLQualifiers() [all …]
|
D | ParseObjc.cpp | 145 ClassNames.push_back(Tok.getIdentifierInfo()); in ParseObjCAtClassDeclaration() 239 IdentifierInfo *nameId = Tok.getIdentifierInfo(); in ParseObjCAtInterfaceDeclaration() 269 categoryId = Tok.getIdentifierInfo(); in ParseObjCAtInterfaceDeclaration() 337 superClassId = Tok.getIdentifierInfo(); in ParseObjCAtInterfaceDeclaration() 512 IdentifierInfo *paramName = Tok.getIdentifierInfo(); in parseObjCTypeParamListOrProtocolRefs() 867 const IdentifierInfo *II = Tok.getIdentifierInfo(); in ParseObjCPropertyAttribute() 1115 IdentifierInfo *II = Tok.getIdentifierInfo(); in ParseObjCSelectorPiece() 1128 Tok.getIdentifierInfo() == ObjCTypeQuals[objc_in]); in isTokIdentifier_in() 1165 const IdentifierInfo *II = Tok.getIdentifierInfo(); in ParseObjCTypeQualifierList() 1455 ArgInfo.Name = Tok.getIdentifierInfo(); in ParseObjCMethodDecl() [all …]
|
D | ParseInit.cpp | 138 const IdentifierInfo *FieldName = Tok.getIdentifierInfo(); in ParseInitializerWithPotentialDesignator() 175 Desig.AddDesignator(Designator::getField(Tok.getIdentifierInfo(), DotLoc, in ParseInitializerWithPotentialDesignator() 215 if (Tok.is(tok::identifier) && Tok.getIdentifierInfo() == Ident_super && in ParseInitializerWithPotentialDesignator() 247 IdentifierInfo *II = Tok.getIdentifierInfo(); in ParseInitializerWithPotentialDesignator()
|
D | Parser.cpp | 66 Ident__except = PP.getIdentifierInfo("__except"); in getSEHExceptKeyword() 506 Ident__exception_info = PP.getIdentifierInfo("_exception_info"); in Initialize() 507 Ident___exception_info = PP.getIdentifierInfo("__exception_info"); in Initialize() 508 Ident_GetExceptionInfo = PP.getIdentifierInfo("GetExceptionInformation"); in Initialize() 509 Ident__exception_code = PP.getIdentifierInfo("_exception_code"); in Initialize() 510 Ident___exception_code = PP.getIdentifierInfo("__exception_code"); in Initialize() 511 Ident_GetExceptionCode = PP.getIdentifierInfo("GetExceptionCode"); in Initialize() 512 Ident__abnormal_termination = PP.getIdentifierInfo("_abnormal_termination"); in Initialize() 513 Ident___abnormal_termination = PP.getIdentifierInfo("__abnormal_termination"); in Initialize() 514 Ident_AbnormalTermination = PP.getIdentifierInfo("AbnormalTermination"); in Initialize() [all …]
|
/external/llvm-project/clang-tools-extra/clang-tidy/utils/ |
D | HeaderGuard.cpp | 53 Ifndefs[MacroNameTok.getIdentifierInfo()] = in Ifndef() 93 Ifndefs[MacroEntry.first.getIdentifierInfo()].second; in EndOfMainFile() 96 EndIfs[Ifndefs[MacroEntry.first.getIdentifierInfo()].first]; in EndOfMainFile() 101 MacroEntry.first.getIdentifierInfo()->getName(); in EndOfMainFile() 227 StringRef Name = MacroEntry.first.getIdentifierInfo()->getName(); in checkGuardlessHeaders()
|
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | ReplaceDisallowCopyAndAssignMacroCheck.cpp | 30 IdentifierInfo *Info = MacroNameTok.getIdentifierInfo(); in MacroExpands() 42 clang::IdentifierInfo *ClassIdent = ClassNameTok->getIdentifierInfo(); in MacroExpands()
|
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | SuspiciousIncludeCheck.cpp | 78 if (IncludeTok.getIdentifierInfo()->getPPKeywordID() == tok::pp_import) in InclusionDirective() 89 << IncludeTok.getIdentifierInfo()->getName() << *IFE; in InclusionDirective()
|