Searched refs:ModuleScopes (Results 1 – 4 of 4) sorted by relevance
76 if (!ModuleScopes.empty() && in ActOnGlobalModuleFragmentDecl()210 if (!ModuleScopes.empty() && in ActOnModuleDecl()220 if (!ModuleScopes.empty() && in ActOnModuleDecl()233 ModuleScopes.empty() in ActOnModuleDecl()409 ModuleScopes.push_back({}); in ActOnPrivateModuleFragmentDecl()536 if (!ModuleScopes.empty()) in ActOnModuleImport()624 ModuleScopes.push_back({}); in ActOnModuleBegin()653 assert(!ModuleScopes.empty() && ModuleScopes.back().Module == Mod && in ActOnModuleEnd()655 ModuleScopes.pop_back(); in ActOnModuleEnd()720 if (ModuleScopes.empty() || !ModuleScopes.back().Module->isModulePurview()) { in ActOnStartExportDecl()[all …]
1033 ModuleScopes.back().ImplicitGlobalModuleFragment = true; in ActOnStartOfTranslationUnit()1120 !ModuleScopes.empty() && ModuleScopes.back().Module->Kind == in ActOnEndOfTranslationUnit()1206 if (!ModuleScopes.empty() && in ActOnEndOfTranslationUnit()1207 ModuleScopes.back().Module->Kind == Module::GlobalModuleFragment && in ActOnEndOfTranslationUnit()1208 !ModuleScopes.back().ImplicitGlobalModuleFragment) { in ActOnEndOfTranslationUnit()1209 Diag(ModuleScopes.back().BeginLoc, in ActOnEndOfTranslationUnit()1219 (ModuleScopes.empty() || in ActOnEndOfTranslationUnit()1220 !ModuleScopes.back().Module->isModulePurview()) && in ActOnEndOfTranslationUnit()
13788 if (Context.DeclMustBeEmitted(var) && !ModuleScopes.empty()) in CheckCompleteVariableDeclaration()13789 Context.addModuleInitializer(ModuleScopes.back().Module, var); in CheckCompleteVariableDeclaration()13800 if (Context.DeclMustBeEmitted(var) && !ModuleScopes.empty()) in CheckCompleteVariableDeclaration()13801 Context.addModuleInitializer(ModuleScopes.back().Module, var); in CheckCompleteVariableDeclaration()
2251 llvm::SmallVector<ModuleScope, 16> ModuleScopes; variable2287 return ModuleScopes.empty() ? nullptr : ModuleScopes.back().Module; in getCurrentModule()2292 return ModuleScopes.empty() ? false : ModuleScopes.back().ModuleInterface; in currentModuleIsInterface()