/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 | 858 const MacroInfo *getMacroInfo(const IdentifierInfo *II) const { in getMacroInfo() function 859 return const_cast<Preprocessor*>(this)->getMacroInfo(II); in getMacroInfo() 862 MacroInfo *getMacroInfo(const IdentifierInfo *II) { in getMacroInfo() function 866 return MD.getMacroInfo(); in getMacroInfo()
|
/external/clang/tools/libclang/ |
D | CIndexer.h | 105 MacroInfo *getMacroInfo(const IdentifierInfo &II, 109 const MacroInfo *getMacroInfo(const MacroDefinitionRecord *MacroDef,
|
D | CIndex.cpp | 570 getMacroInfo(cxcursor::getCursorMacroDefinition(Cursor), TU); in VisitChildren() 3418 if (const MacroInfo *MI = PP.getMacroInfo(II)) in clang_Cursor_isMacroFunctionLike() 3430 if (const MacroInfo *MI = PP.getMacroInfo(II)) in clang_Cursor_isMacroBuiltin() 6667 MI = getMacroInfo(II, MappedTokLoc, TU); in annotatePreprocessorTokens() 7833 MacroInfo *cxindex::getMacroInfo(const IdentifierInfo &II, in getMacroInfo() function in cxindex 7847 if (MacroDefLoc == Def.getMacroInfo()->getDefinitionLoc()) in getMacroInfo() 7848 return Def.getMacroInfo(); in getMacroInfo() 7855 const MacroInfo *cxindex::getMacroInfo(const MacroDefinitionRecord *MacroDef, in getMacroInfo() function in cxindex 7863 return getMacroInfo(*II, MacroDef->getLocation(), TU); in getMacroInfo() 7904 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 | 166 if (MM->getMacroInfo()) in updateModuleMacroInfo() 190 auto *NewMI = Active->getMacroInfo(); in updateModuleMacroInfo() 248 if (!MM->getMacroInfo()) in dumpMacroInfo() 256 else if (MM->getMacroInfo()) in dumpMacroInfo() 268 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() 799 if (MacroInfo *MI = getMacroInfo(Tok.getIdentifierInfo())) in ReadFunctionLikeMacroArgs()
|
D | Preprocessor.cpp | 343 if (!Def || !Def.getMacroInfo()) in getLastMacroWithSpelling() 345 if (!Def.getMacroInfo()->isObjectLike()) in getLastMacroWithSpelling() 347 if (!MacroDefinitionEquals(Def.getMacroInfo(), Tokens)) in getLastMacroWithSpelling() 660 auto *MI = MD.getMacroInfo(); in HandleIdentifier()
|
D | PPDirectives.cpp | 257 auto *MI = getMacroInfo(II); in CheckMacroName() 2470 if (const MacroInfo *OtherMI=getMacroInfo(MacroNameTok.getIdentifierInfo())) { in HandleDefineDirective() 2562 const MacroInfo *MI = MD.getMacroInfo(); in HandleUndefDirective() 2607 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 | 123 PP.markMacroAsUsed(Macro.getMacroInfo()); in EvaluateDefined()
|
/external/clang/lib/Frontend/ |
D | PrintPreprocessedOutput.cpp | 363 const MacroInfo *MI = MD->getMacroInfo(); in MacroDefined() 724 MacrosByID.push_back(id_macro_pair(I->first, MD->getMacroInfo())); in DoPrintMacros()
|
D | CompilerInstance.cpp | 1164 CmdLineDefinition = DMD->getMacroInfo(); in checkConfigMacro() 1168 auto *CurrentDefinition = PP.getMacroInfo(Id); in checkConfigMacro()
|
/external/clang/lib/Sema/ |
D | Sema.cpp | 59 if (const MacroInfo *BoolMacro = PP.getMacroInfo(Context.getBoolName())) { in getPrintingPolicy()
|
D | SemaCodeComplete.cpp | 2642 const MacroInfo *MI = PP.getMacroInfo(Macro); in CreateCodeCompletionString() 3113 if (MacroInfo *MI = MD.getMacroInfo()) in AddMacroResults()
|
/external/v8/tools/clang/rewrite_to_chrome_style/ |
D | RewriteToChromeStyle.cpp | 1337 if (def.getMacroInfo()->getNumParams() != 2) in MacroExpands()
|
/external/clang/lib/Serialization/ |
D | ASTWriter.cpp | 2111 if (MacroInfo *MI = MD->getMacroInfo()) in shouldIgnoreMacro() 2201 ModuleMacroRecord.push_back(getMacroRef(Macro->getMacroInfo(), Name)); in WritePreprocessor()
|