Home
last modified time | relevance | path

Searched refs:getMacroInfo (Results 1 – 17 of 17) sorted by relevance

/external/clang/include/clang/Lex/
DMacroInfo.h368 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 …]
DPreprocessor.h858 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/
DCIndexer.h105 MacroInfo *getMacroInfo(const IdentifierInfo &II,
109 const MacroInfo *getMacroInfo(const MacroDefinitionRecord *MacroDef,
DCIndex.cpp570 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/
DPreprocessingRecord.cpp387 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()
DPPMacroExpansion.cpp166 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()
DPreprocessor.cpp343 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()
DPPDirectives.cpp257 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()
DPragma.cpp569 MacroInfo *MI = getMacroInfo(IdentInfo); in HandlePragmaPushMacro()
598 if (MacroInfo *MI = getMacroInfo(IdentInfo)) { in HandlePragmaPopMacro()
DPPLexerChange.cpp307 getMacroInfo(const_cast<IdentifierInfo*>(ControllingMacro))) { in HandleEndOfFile()
DPPExpressions.cpp123 PP.markMacroAsUsed(Macro.getMacroInfo()); in EvaluateDefined()
/external/clang/lib/Frontend/
DPrintPreprocessedOutput.cpp363 const MacroInfo *MI = MD->getMacroInfo(); in MacroDefined()
724 MacrosByID.push_back(id_macro_pair(I->first, MD->getMacroInfo())); in DoPrintMacros()
DCompilerInstance.cpp1164 CmdLineDefinition = DMD->getMacroInfo(); in checkConfigMacro()
1168 auto *CurrentDefinition = PP.getMacroInfo(Id); in checkConfigMacro()
/external/clang/lib/Sema/
DSema.cpp59 if (const MacroInfo *BoolMacro = PP.getMacroInfo(Context.getBoolName())) { in getPrintingPolicy()
DSemaCodeComplete.cpp2642 const MacroInfo *MI = PP.getMacroInfo(Macro); in CreateCodeCompletionString()
3113 if (MacroInfo *MI = MD.getMacroInfo()) in AddMacroResults()
/external/v8/tools/clang/rewrite_to_chrome_style/
DRewriteToChromeStyle.cpp1337 if (def.getMacroInfo()->getNumParams() != 2) in MacroExpands()
/external/clang/lib/Serialization/
DASTWriter.cpp2111 if (MacroInfo *MI = MD->getMacroInfo()) in shouldIgnoreMacro()
2201 ModuleMacroRecord.push_back(getMacroRef(Macro->getMacroInfo(), Name)); in WritePreprocessor()