Home
last modified time | relevance | path

Searched refs:CurSubmoduleState (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DPPLexerChange.cpp704 BuildingSubmoduleInfo(M, ImportLoc, ForPragma, CurSubmoduleState, in EnterSubmodule()
749 BuildingSubmoduleInfo(M, ImportLoc, ForPragma, CurSubmoduleState, in EnterSubmodule()
756 CurSubmoduleState = &State; in EnterSubmodule()
811 auto MacroIt = CurSubmoduleState->Macros.find(II); in LeaveSubmodule()
812 if (MacroIt == CurSubmoduleState->Macros.end()) in LeaveSubmodule()
821 if (OldState && OldState != CurSubmoduleState) { in LeaveSubmodule()
879 CurSubmoduleState = Info.OuterSubmoduleState; in LeaveSubmodule()
H A DPPMacroExpansion.cpp66 auto Pos = CurSubmoduleState->Macros.find(II); in getLocalMacroDirectiveHistory()
67 return Pos == CurSubmoduleState->Macros.end() ? nullptr in getLocalMacroDirectiveHistory()
75 MacroState &StoredMD = CurSubmoduleState->Macros[II]; in appendMacroDirective()
109 MacroState &StoredMD = CurSubmoduleState->Macros[II]; in setLoadedMacroDirective()
183 CurSubmoduleState->VisibleModules.getGeneration() && in updateModuleMacroInfo()
186 CurSubmoduleState->VisibleModules.getGeneration(); in updateModuleMacroInfo()
210 if (CurSubmoduleState->VisibleModules.isVisible(MM->getOwningModule())) { in updateModuleMacroInfo()
264 auto Pos = CurSubmoduleState->Macros.find(II); in dumpMacroInfo()
265 if (Pos != CurSubmoduleState->Macros.end()) in dumpMacroInfo()
301 else if (!CurSubmoduleState->VisibleModules.isVisible( in dumpMacroInfo()
H A DPreprocessor.cpp98 CurSubmoduleState(&NullSubmoduleState) { in Preprocessor()
306 << llvm::capacity_in_bytes(CurSubmoduleState->Macros); in PrintStats()
325 CurSubmoduleState->Macros.insert(std::make_pair(Macro.II, MacroState())); in macro_begin()
327 return CurSubmoduleState->Macros.begin(); in macro_begin()
336 + llvm::capacity_in_bytes(CurSubmoduleState->Macros) in getTotalMemory()
350 return CurSubmoduleState->Macros.end(); in macro_end()
1334 CurSubmoduleState->VisibleModules.setVisible( in makeModuleVisible()
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DPreprocessor.h855 !PP.CurSubmoduleState->VisibleModules.getGeneration()) in getModuleInfo()
865 if (PP.CurSubmoduleState->VisibleModules.getGeneration() != in getModuleInfo()
1010 SubmoduleState *CurSubmoduleState; variable
1371 MacroState &S = CurSubmoduleState->Macros[II]; in getMacroDefinition()
1385 MacroState &S = CurSubmoduleState->Macros[II]; in getMacroDefinitionAtLoc()
1757 return CurSubmoduleState->VisibleModules.getImportLoc(M); in getModuleImportLoc()