Home
last modified time | relevance | path

Searched refs:getLatest (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/clang/lib/Lex/
H A DPPLexerChange.cpp722 if (!Macro.second.getLatest() && in EnterSubmodule()
726 MacroState MS(Macro.second.getLatest()); in EnterSubmodule()
814 OldMD = OldMacroIt->second.getLatest(); in LeaveSubmodule()
820 for (auto *MD = Macro.getLatest(); MD != OldMD; MD = MD->getPrevious()) { in LeaveSubmodule()
H A DPPMacroExpansion.cpp69 : Pos->second.getLatest(); in getLocalMacroDirectiveHistory()
77 auto *OldMD = StoredMD.getLatest(); in appendMacroDirective()
112 if (auto *OldMD = StoredMD.getLatest()) { in setLoadedMacroDirective()
280 for (auto *MD = State ? State->getLatest() : nullptr; MD; in dumpMacroInfo()
/llvm-project-15.0.7/clang/lib/Index/
H A DIndexingAction.cpp235 for (auto *MD = M.second.getLatest(); MD; MD = MD->getPrevious()) { in indexPreprocessorMacros()
246 if (M.second.getLatest() == nullptr) { in indexPreprocessorModuleMacros()
/llvm-project-15.0.7/clang/include/clang/Lex/
H A DPreprocessor.h741 MacroDirective *getLatest() const { in getLatest() function
769 if (auto *Latest = getLatest()) in findDirectiveAtLoc()
1217 auto *MD = J->second.getLatest(); in isMacroDefinedInLocalModule()
1226 auto *MD = S.getLatest(); in getMacroDefinition()
1241 if (auto *MD = S.getLatest()) in getMacroDefinitionAtLoc()
/llvm-project-15.0.7/clang-tools-extra/modularize/
H A DModularize.cpp675 Location Loc(SM, M->second.getLatest()->getLocation()); in HandleTranslationUnit()
/llvm-project-15.0.7/clang/lib/Frontend/
H A DPrintPreprocessedOutput.cpp941 auto *MD = I->second.getLatest(); in DoPrintMacros()