/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()
|
D | Pragma.cpp | 87 = FindHandler(Tok.getIdentifierInfo() ? Tok.getIdentifierInfo()->getName() in HandlePragma() 790 IdentifierInfo *II = Tok.getIdentifierInfo(); in LexOnOffSwitch() 867 IdentifierInfo *II = Tok.getIdentifierInfo(); in HandlePragma() 882 if (auto *DumpII = Identifier.getIdentifierInfo()) { in HandlePragma() 902 auto *MacroII = MacroName.getIdentifierInfo(); in HandlePragma() 980 IdentifierInfo *II = Tok.getIdentifierInfo(); in HandlePragma() 1069 IdentifierInfo *II = Tok.getIdentifierInfo(); in HandlePragma() 1097 II = Tok.getIdentifierInfo(); in HandlePragma() 1334 const IdentifierInfo *BeginEnd = Tok.getIdentifierInfo(); in HandlePragma() 1388 const IdentifierInfo *BeginEnd = Tok.getIdentifierInfo(); in HandlePragma()
|
D | TokenLexer.cpp | 190 int ArgNo = Macro->getArgumentNum(Tokens[i+1].getIdentifierInfo()); in ExpandFunctionArguments() 233 IdentifierInfo *II = CurTok.getIdentifierInfo(); in ExpandFunctionArguments() 413 FirstTok.getIdentifierInfo()->isStr("L") && SecondTok.isLiteral() && in isWideStringLiteralFromMacro() 498 if (!Tok.isAnnotation() && Tok.getIdentifierInfo() != nullptr) { in Lex() 501 IdentifierInfo *II = Tok.getIdentifierInfo(); in Lex()
|
D | PreprocessingRecord.cpp | 378 MacroExpansion(Id.getIdentifierInfo(), Range)); in addMacroExpansion() 424 new (*this) MacroDefinitionRecord(Id.getIdentifierInfo(), R); in MacroDefined() 446 switch (IncludeTok.getIdentifierInfo()->getPPKeywordID()) { in InclusionDirective()
|
/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()
|
D | InclusionRewriter.cpp | 323 return RawToken.getIdentifierInfo()->getName(); in NextIdentifierName() 442 if (RawToken.getIdentifierInfo() != nullptr) { in Process() 443 switch (RawToken.getIdentifierInfo()->getPPKeywordID()) { in Process() 493 bool elif = (RawToken.getIdentifierInfo()->getPPKeywordID() == in Process() 507 if (RawToken.getIdentifierInfo()->isStr("__has_include")) { in Process() 512 } else if (RawToken.getIdentifierInfo()->isStr( in Process()
|
/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 | 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 …]
|
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 | ParseExpr.cpp | 791 Tok.getIdentifierInfo()->hasRevertedTokenIDToIdentifier()) { in ParseCastExpression() 792 IdentifierInfo *II = Tok.getIdentifierInfo(); in ParseCastExpression() 797 RevertibleTypeTraits[PP.getIdentifierInfo(#Name)] \ in ParseCastExpression() 879 IdentifierInfo &II = *Tok.getIdentifierInfo(); in ParseCastExpression() 895 IdentifierInfo &PropertyName = *Tok.getIdentifierInfo(); in ParseCastExpression() 1109 LabelDecl *LD = Actions.LookupOrCreateLabel(Tok.getIdentifierInfo(), in ParseCastExpression() 1678 IdentifierInfo *Id = Tok.getIdentifierInfo(); in ParsePostfixExpressionSuffix() 1771 Diag(Tok, diag::err_expected_after) << OpTok.getIdentifierInfo() in ParseExprAfterUnaryExprOrTypeTrait() 1843 Name = Tok.getIdentifierInfo(); in ParseUnaryExprOrTypeTraitExpression() 1854 Name = Tok.getIdentifierInfo(); in ParseUnaryExprOrTypeTraitExpression() [all …]
|
D | ParseStmt.cpp | 452 Tok.getIdentifierInfo() == getSEHExceptKeyword()) { in ParseSEHTryBlock() 565 assert(Tok.is(tok::identifier) && Tok.getIdentifierInfo() && in ParseLabeledStatement() 616 LabelDecl *LD = Actions.LookupOrCreateLabel(IdentTok.getIdentifierInfo(), in ParseLabeledStatement() 960 IdentifierInfo *II = Tok.getIdentifierInfo(); in ParseCompoundStatementBody() 1584 IdentifierInfo *Name = Tok.getIdentifierInfo(); in ParseForStatement() 1821 LabelDecl *LD = Actions.LookupOrCreateLabel(Tok.getIdentifierInfo(), in ParseGotoStatement() 2081 Tok.getIdentifierInfo() == getSEHExceptKeyword()) || in ParseCXXTryBlockCommon() 2085 if(Tok.getIdentifierInfo() == getSEHExceptKeyword()) { in ParseCXXTryBlockCommon()
|
D | ParseDeclCXX.cpp | 88 Ident = Tok.getIdentifierInfo(); in ParseNamespace() 92 ExtraIdent.push_back(Tok.getIdentifierInfo()); in ParseNamespace() 280 IdentifierInfo *Ident = Tok.getIdentifierInfo(); in ParseNamespaceAlias() 460 NamespcName = Tok.getIdentifierInfo(); in ParseUsingDirective() 546 SS.isNotEmpty() && LastII == Tok.getIdentifierInfo() && in ParseUsingDeclaration() 780 if (Tok.getIdentifierInfo()->isStr("decltype")) in ParseDecltypeSpecifier() 992 IdentifierInfo *Id = Tok.getIdentifierInfo(); in ParseBaseTypeSpecifier() 1071 IdentifierInfo *AttrName = Tok.getIdentifierInfo(); in ParseMicrosoftInheritanceClassAttributes() 1275 Tok.getIdentifierInfo() && in ParseClassSpecifier() 1339 AtomicII = Tok.getIdentifierInfo(); in ParseClassSpecifier() [all …]
|
D | ParseTemplate.cpp | 523 ParamName = Tok.getIdentifierInfo(); in ParseTypeParameter() 620 ParamName = Tok.getIdentifierInfo(); in ParseTemplateTemplateParameter() 1132 Name.setIdentifier(Tok.getIdentifierInfo(), Tok.getLocation()); in ParseTemplateTemplateArgument() 1152 Name.setIdentifier(Tok.getIdentifierInfo(), Tok.getLocation()); in ParseTemplateTemplateArgument()
|
/external/clang/lib/Format/ |
D | FormatToken.h | 285 return II && II == Tok.getIdentifierInfo(); in is() 288 return Tok.getIdentifierInfo() && in is() 289 Tok.getIdentifierInfo()->getPPKeywordID() == Kind; in is()
|
D | FormatTokenLexer.cpp | 535 if (!(Tokens.size() > 0 && Tokens.back()->Tok.getIdentifierInfo() && in getNextToken() 536 Tokens.back()->Tok.getIdentifierInfo()->getPPKeywordID() == in getNextToken() 539 FormatTok->Tok.getIdentifierInfo()) != ForEachMacros.end()) { in getNextToken()
|
/external/clang/unittests/Basic/ |
D | SourceManagerTest.cpp | 266 MacroNameTok.getIdentifierInfo()->getName(), in MacroDefined() 272 MacroNameTok.getIdentifierInfo()->getName(), in MacroExpands()
|
/external/clang/unittests/Sema/ |
D | ExternalSemaSourceTest.cpp | 122 CurrentSema->getPreprocessor().getIdentifierInfo(CorrectTo); in CorrectTypo() 164 CurrentSema->getPreprocessor().getIdentifierInfo(CorrectTo); in CorrectTypo()
|
/external/clang/lib/Frontend/ |
D | PrintPreprocessedOutput.cpp | 370 PrintMacroDefinition(*MacroNameTok.getIdentifierInfo(), *MI, PP, OS); in MacroDefined() 380 OS << "#undef " << MacroNameTok.getIdentifierInfo()->getName(); in MacroUndefined() 669 } else if (IdentifierInfo *II = Tok.getIdentifierInfo()) { in PrintPreprocessedTokens()
|
/external/clang/include/clang/Lex/ |
D | Token.h | 176 IdentifierInfo *getIdentifierInfo() const { in getIdentifierInfo() function
|