Home
last modified time | relevance | path

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

/external/clang/lib/Lex/
DPPLexerChange.cpp626 M, ImportLoc, CurSubmoduleState, PendingModuleMacroNames.size())); in EnterSubmodule()
668 M, ImportLoc, CurSubmoduleState, PendingModuleMacroNames.size())); in EnterSubmodule()
671 CurSubmoduleState = &State; in EnterSubmodule()
716 auto MacroIt = CurSubmoduleState->Macros.find(II); in LeaveSubmodule()
717 if (MacroIt == CurSubmoduleState->Macros.end()) in LeaveSubmodule()
726 if (OldState && OldState != CurSubmoduleState) { in LeaveSubmodule()
788 CurSubmoduleState = Info.OuterSubmoduleState; in LeaveSubmodule()
DPreprocessor.cpp80 CurSubmoduleState(&NullSubmoduleState), MacroArgCache(nullptr), in Preprocessor()
280 << llvm::capacity_in_bytes(CurSubmoduleState->Macros); in PrintStats()
299 CurSubmoduleState->Macros.insert(std::make_pair(Macro.II, MacroState())); in macro_begin()
301 return CurSubmoduleState->Macros.begin(); in macro_begin()
310 + llvm::capacity_in_bytes(CurSubmoduleState->Macros) in getTotalMemory()
324 return CurSubmoduleState->Macros.end(); in macro_end()
801 CurSubmoduleState->VisibleModules.setVisible( in makeModuleVisible()
DPPMacroExpansion.cpp40 auto Pos = CurSubmoduleState->Macros.find(II); in getLocalMacroDirectiveHistory()
41 return Pos == CurSubmoduleState->Macros.end() ? nullptr in getLocalMacroDirectiveHistory()
49 MacroState &StoredMD = CurSubmoduleState->Macros[II]; in appendMacroDirective()
73 MacroState &StoredMD = CurSubmoduleState->Macros[II]; in setLoadedMacroDirective()
136 CurSubmoduleState->VisibleModules.getGeneration() && in updateModuleMacroInfo()
139 CurSubmoduleState->VisibleModules.getGeneration(); in updateModuleMacroInfo()
163 if (CurSubmoduleState->VisibleModules.isVisible(MM->getOwningModule())) { in updateModuleMacroInfo()
217 auto Pos = CurSubmoduleState->Macros.find(II); in dumpMacroInfo()
218 if (Pos != CurSubmoduleState->Macros.end()) in dumpMacroInfo()
253 else if (!CurSubmoduleState->VisibleModules.isVisible( in dumpMacroInfo()
/external/llvm-project/clang/lib/Lex/
DPPLexerChange.cpp651 BuildingSubmoduleInfo(M, ImportLoc, ForPragma, CurSubmoduleState, in EnterSubmodule()
696 BuildingSubmoduleInfo(M, ImportLoc, ForPragma, CurSubmoduleState, in EnterSubmodule()
703 CurSubmoduleState = &State; in EnterSubmodule()
758 auto MacroIt = CurSubmoduleState->Macros.find(II); in LeaveSubmodule()
759 if (MacroIt == CurSubmoduleState->Macros.end()) in LeaveSubmodule()
768 if (OldState && OldState != CurSubmoduleState) { in LeaveSubmodule()
826 CurSubmoduleState = Info.OuterSubmoduleState; in LeaveSubmodule()
DPPMacroExpansion.cpp65 auto Pos = CurSubmoduleState->Macros.find(II); in getLocalMacroDirectiveHistory()
66 return Pos == CurSubmoduleState->Macros.end() ? nullptr in getLocalMacroDirectiveHistory()
74 MacroState &StoredMD = CurSubmoduleState->Macros[II]; in appendMacroDirective()
108 MacroState &StoredMD = CurSubmoduleState->Macros[II]; in setLoadedMacroDirective()
184 CurSubmoduleState->VisibleModules.getGeneration() && in updateModuleMacroInfo()
187 CurSubmoduleState->VisibleModules.getGeneration(); in updateModuleMacroInfo()
211 if (CurSubmoduleState->VisibleModules.isVisible(MM->getOwningModule())) { in updateModuleMacroInfo()
265 auto Pos = CurSubmoduleState->Macros.find(II); in dumpMacroInfo()
266 if (Pos != CurSubmoduleState->Macros.end()) in dumpMacroInfo()
301 else if (!CurSubmoduleState->VisibleModules.isVisible( in dumpMacroInfo()
DPreprocessor.cpp94 CurSubmoduleState(&NullSubmoduleState) { in Preprocessor()
301 << llvm::capacity_in_bytes(CurSubmoduleState->Macros); in PrintStats()
320 CurSubmoduleState->Macros.insert(std::make_pair(Macro.II, MacroState())); in macro_begin()
322 return CurSubmoduleState->Macros.begin(); in macro_begin()
331 + llvm::capacity_in_bytes(CurSubmoduleState->Macros) in getTotalMemory()
345 return CurSubmoduleState->Macros.end(); in macro_end()
1309 CurSubmoduleState->VisibleModules.setVisible( in makeModuleVisible()
/external/clang/include/clang/Lex/
DPreprocessor.h402 !PP.CurSubmoduleState->VisibleModules.getGeneration()) in getModuleInfo()
412 if (PP.CurSubmoduleState->VisibleModules.getGeneration() != in getModuleInfo()
543 SubmoduleState *CurSubmoduleState; variable
821 MacroState &S = CurSubmoduleState->Macros[II]; in getMacroDefinition()
835 MacroState &S = CurSubmoduleState->Macros[II]; in getMacroDefinitionAtLoc()
1082 return CurSubmoduleState->VisibleModules.getImportLoc(M); in getModuleImportLoc()
/external/llvm-project/clang/include/clang/Lex/
DPreprocessor.h608 !PP.CurSubmoduleState->VisibleModules.getGeneration()) in getModuleInfo()
618 if (PP.CurSubmoduleState->VisibleModules.getGeneration() != in getModuleInfo()
763 SubmoduleState *CurSubmoduleState; variable
1078 MacroState &S = CurSubmoduleState->Macros[II]; in getMacroDefinition()
1092 MacroState &S = CurSubmoduleState->Macros[II]; in getMacroDefinitionAtLoc()
1415 return CurSubmoduleState->VisibleModules.getImportLoc(M); in getModuleImportLoc()