Home
last modified time | relevance | path

Searched refs:getMacroInfo (Results 1 – 16 of 16) 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.h851 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/
DCIndexer.h103 MacroInfo *getMacroInfo(const IdentifierInfo &II,
107 const MacroInfo *getMacroInfo(const MacroDefinitionRecord *MacroDef,
DCIndex.cpp571 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/
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.cpp159 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()
DPreprocessor.cpp340 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()
DPPDirectives.cpp174 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()
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.cpp117 PP.markMacroAsUsed(Macro.getMacroInfo()); in EvaluateDefined()
/external/clang/lib/Frontend/
DPrintPreprocessedOutput.cpp351 const MacroInfo *MI = MD->getMacroInfo(); in MacroDefined()
703 MacrosByID.push_back(id_macro_pair(I->first, MD->getMacroInfo())); in DoPrintMacros()
DCompilerInstance.cpp1128 CmdLineDefinition = DMD->getMacroInfo(); in checkConfigMacro()
1132 auto *CurrentDefinition = PP.getMacroInfo(Id); in checkConfigMacro()
/external/clang/lib/Sema/
DSema.cpp58 BoolMacro = PP.getMacroInfo(&Context.Idents.get("bool"))) { in getPrintingPolicy()
DSemaCodeComplete.cpp2630 const MacroInfo *MI = PP.getMacroInfo(Macro); in CreateCodeCompletionString()
3100 if (MacroInfo *MI = MD.getMacroInfo()) in AddMacroResults()
/external/clang/lib/Serialization/
DASTWriter.cpp2032 if (MacroInfo *MI = MD->getMacroInfo()) in shouldIgnoreMacro()
2122 ModuleMacroRecord.push_back(getMacroRef(Macro->getMacroInfo(), Name)); in WritePreprocessor()