/external/clang/include/clang/Lex/ |
D | MacroInfo.h | 368 inline MacroInfo *getMacroInfo(); 369 const MacroInfo *getMacroInfo() const { in getMacroInfo() function 370 return const_cast<DefInfo *>(this)->getMacroInfo(); in getMacroInfo() 403 const MacroInfo *getMacroInfo() const { in getMacroInfo() function 404 return getDefinition().getMacroInfo(); in getMacroInfo() 406 MacroInfo *getMacroInfo() { return getDefinition().getMacroInfo(); } in getMacroInfo() function 477 inline MacroInfo *MacroDirective::DefInfo::getMacroInfo() { in getMacroInfo() function 539 MacroInfo *getMacroInfo() const { return Macro; } in getMacroInfo() function 579 MacroInfo *getMacroInfo() const { in getMacroInfo() function 581 return ModuleMacros.back()->getMacroInfo(); in getMacroInfo() [all …]
|
D | Preprocessor.h | 851 const MacroInfo *getMacroInfo(const IdentifierInfo *II) const { in getMacroInfo() function 852 return const_cast<Preprocessor*>(this)->getMacroInfo(II); in getMacroInfo() 855 MacroInfo *getMacroInfo(const IdentifierInfo *II) { in getMacroInfo() function 859 return MD.getMacroInfo(); in getMacroInfo()
|
/external/clang/tools/libclang/ |
D | CIndexer.h | 103 MacroInfo *getMacroInfo(const IdentifierInfo &II, 107 const MacroInfo *getMacroInfo(const MacroDefinitionRecord *MacroDef,
|
D | CIndex.cpp | 571 getMacroInfo(cxcursor::getCursorMacroDefinition(Cursor), TU); in VisitChildren() 6297 MI = getMacroInfo(II, MappedTokLoc, TU); in annotatePreprocessorTokens() 7409 MacroInfo *cxindex::getMacroInfo(const IdentifierInfo &II, in getMacroInfo() function in cxindex 7423 if (MacroDefLoc == Def.getMacroInfo()->getDefinitionLoc()) in getMacroInfo() 7424 return Def.getMacroInfo(); in getMacroInfo() 7431 const MacroInfo *cxindex::getMacroInfo(const MacroDefinitionRecord *MacroDef, in getMacroInfo() function in cxindex 7439 return getMacroInfo(*II, MacroDef->getLocation(), TU); in getMacroInfo() 7480 return PPRec->findMacroDefinition(InnerMD->getMacroInfo()); in checkForMacroInMacroDefinition()
|
/external/clang/lib/Lex/ |
D | PreprocessingRecord.cpp | 387 addMacroExpansion(MacroNameTok, MD.getMacroInfo(), in Ifdef() 395 addMacroExpansion(MacroNameTok, MD.getMacroInfo(), in Ifndef() 404 addMacroExpansion(MacroNameTok, MD.getMacroInfo(), in Defined() 416 addMacroExpansion(Id, MD.getMacroInfo(), Range); in MacroExpands() 421 const MacroInfo *MI = MD->getMacroInfo(); in MacroDefined()
|
D | PPMacroExpansion.cpp | 159 if (MM->getMacroInfo()) in updateModuleMacroInfo() 183 auto *NewMI = Active->getMacroInfo(); in updateModuleMacroInfo() 241 if (!MM->getMacroInfo()) in dumpMacroInfo() 249 else if (MM->getMacroInfo()) in dumpMacroInfo() 261 if (auto *MI = MM->getMacroInfo()) { in dumpMacroInfo() 357 if (auto *ExpansionMI = PP.getMacroInfo(II)) in isTrivialSingleTokenExpansion() 421 MacroInfo *MI = M.getMacroInfo(); in HandleMacroExpandedIdentifier() 553 if (MacroInfo *NewMI = getMacroInfo(NewII)) in HandleMacroExpandedIdentifier() 797 if (MacroInfo *MI = getMacroInfo(Tok.getIdentifierInfo())) in ReadFunctionLikeMacroArgs()
|
D | Preprocessor.cpp | 340 if (!Def || !Def.getMacroInfo()) in getLastMacroWithSpelling() 342 if (!Def.getMacroInfo()->isObjectLike()) in getLastMacroWithSpelling() 344 if (!MacroDefinitionEquals(Def.getMacroInfo(), Tokens)) in getLastMacroWithSpelling() 657 auto *MI = MD.getMacroInfo(); in HandleIdentifier()
|
D | PPDirectives.cpp | 174 auto *MI = getMacroInfo(II); in CheckMacroName() 2266 if (const MacroInfo *OtherMI=getMacroInfo(MacroNameTok.getIdentifierInfo())) { in HandleDefineDirective() 2358 const MacroInfo *MI = MD.getMacroInfo(); in HandleUndefDirective() 2404 MacroInfo *MI = MD.getMacroInfo(); in HandleIfdefDirective()
|
D | Pragma.cpp | 569 MacroInfo *MI = getMacroInfo(IdentInfo); in HandlePragmaPushMacro() 598 if (MacroInfo *MI = getMacroInfo(IdentInfo)) { in HandlePragmaPopMacro()
|
D | PPLexerChange.cpp | 307 getMacroInfo(const_cast<IdentifierInfo*>(ControllingMacro))) { in HandleEndOfFile()
|
D | PPExpressions.cpp | 117 PP.markMacroAsUsed(Macro.getMacroInfo()); in EvaluateDefined()
|
/external/clang/lib/Frontend/ |
D | PrintPreprocessedOutput.cpp | 351 const MacroInfo *MI = MD->getMacroInfo(); in MacroDefined() 703 MacrosByID.push_back(id_macro_pair(I->first, MD->getMacroInfo())); in DoPrintMacros()
|
D | CompilerInstance.cpp | 1128 CmdLineDefinition = DMD->getMacroInfo(); in checkConfigMacro() 1132 auto *CurrentDefinition = PP.getMacroInfo(Id); in checkConfigMacro()
|
/external/clang/lib/Sema/ |
D | Sema.cpp | 58 BoolMacro = PP.getMacroInfo(&Context.Idents.get("bool"))) { in getPrintingPolicy()
|
D | SemaCodeComplete.cpp | 2630 const MacroInfo *MI = PP.getMacroInfo(Macro); in CreateCodeCompletionString() 3100 if (MacroInfo *MI = MD.getMacroInfo()) in AddMacroResults()
|
/external/clang/lib/Serialization/ |
D | ASTWriter.cpp | 2032 if (MacroInfo *MI = MD->getMacroInfo()) in shouldIgnoreMacro() 2122 ModuleMacroRecord.push_back(getMacroRef(Macro->getMacroInfo(), Name)); in WritePreprocessor()
|