Home
last modified time | relevance | path

Searched refs:getIdentifierInfo (Results 1 – 25 of 55) sorted by relevance

123

/external/clang/lib/Lex/
DPreprocessor.cpp117 (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 …]
DMacroInfo.cpp106 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()
DPPDirectives.cpp228 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 …]
DPPMacroExpansion.cpp280 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 …]
DTokenConcatenation.cpp126 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()
DPragma.cpp87 = 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()
DTokenLexer.cpp190 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()
DPreprocessingRecord.cpp378 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/
DRewriteMacros.cpp32 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()
DInclusionRewriter.cpp323 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/
DParsePragma.cpp389 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 …]
DParseDecl.cpp150 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 …]
DParseObjc.cpp145 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 …]
DParser.cpp66 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 …]
DParseInit.cpp138 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()
DParseExpr.cpp791 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 …]
DParseStmt.cpp452 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()
DParseDeclCXX.cpp88 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 …]
DParseTemplate.cpp523 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/
DFormatToken.h285 return II && II == Tok.getIdentifierInfo(); in is()
288 return Tok.getIdentifierInfo() && in is()
289 Tok.getIdentifierInfo()->getPPKeywordID() == Kind; in is()
DFormatTokenLexer.cpp535 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/
DSourceManagerTest.cpp266 MacroNameTok.getIdentifierInfo()->getName(), in MacroDefined()
272 MacroNameTok.getIdentifierInfo()->getName(), in MacroExpands()
/external/clang/unittests/Sema/
DExternalSemaSourceTest.cpp122 CurrentSema->getPreprocessor().getIdentifierInfo(CorrectTo); in CorrectTypo()
164 CurrentSema->getPreprocessor().getIdentifierInfo(CorrectTo); in CorrectTypo()
/external/clang/lib/Frontend/
DPrintPreprocessedOutput.cpp370 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/
DToken.h176 IdentifierInfo *getIdentifierInfo() const { in getIdentifierInfo() function

123