Searched refs:ModuleScopes (Results 1 – 4 of 4) sorted by relevance
59 if (!ModuleScopes.empty() && in ActOnGlobalModuleFragmentDecl()76 ModuleScopes.push_back({}); in ActOnGlobalModuleFragmentDecl()130 if (!ModuleScopes.empty() && in ActOnModuleDecl()140 if (!ModuleScopes.empty() && in ActOnModuleDecl()149 ModuleScopes.empty() in ActOnModuleDecl()290 ModuleScopes.push_back({}); in ActOnPrivateModuleFragmentDecl()390 if (!ModuleScopes.empty()) in ActOnModuleImport()394 if (!ModuleScopes.empty() && ModuleScopes.back().ModuleInterface) { in ActOnModuleImport()470 assert(!ModuleScopes.empty() && ModuleScopes.back().Module == Mod && in ActOnModuleEnd()472 ModuleScopes.pop_back(); in ActOnModuleEnd()[all …]
1007 ModuleScopes.back().ImplicitGlobalModuleFragment = true; in ActOnStartOfTranslationUnit()1094 !ModuleScopes.empty() && ModuleScopes.back().Module->Kind == in ActOnEndOfTranslationUnit()1177 if (!ModuleScopes.empty() && in ActOnEndOfTranslationUnit()1178 ModuleScopes.back().Module->Kind == Module::GlobalModuleFragment && in ActOnEndOfTranslationUnit()1179 !ModuleScopes.back().ImplicitGlobalModuleFragment) { in ActOnEndOfTranslationUnit()1180 Diag(ModuleScopes.back().BeginLoc, in ActOnEndOfTranslationUnit()1190 (ModuleScopes.empty() || in ActOnEndOfTranslationUnit()1191 !ModuleScopes.back().Module->isModulePurview()) && in ActOnEndOfTranslationUnit()
13290 if (Context.DeclMustBeEmitted(var) && !ModuleScopes.empty()) in CheckCompleteVariableDeclaration()13291 Context.addModuleInitializer(ModuleScopes.back().Module, var); in CheckCompleteVariableDeclaration()13302 if (Context.DeclMustBeEmitted(var) && !ModuleScopes.empty()) in CheckCompleteVariableDeclaration()13303 Context.addModuleInitializer(ModuleScopes.back().Module, var); in CheckCompleteVariableDeclaration()
2176 llvm::SmallVector<ModuleScope, 16> ModuleScopes; variable2183 return ModuleScopes.empty() ? nullptr : ModuleScopes.back().Module; in getCurrentModule()