Lines Matching refs:BeginLoc
82 ModuleScopes.back().BeginLoc = ModuleLoc; in ActOnGlobalModuleFragmentDecl()
134 ModuleScopes.back().BeginLoc = StartOfTU; in HandleStartOfHeaderUnit()
232 SourceLocation BeginLoc = in ActOnModuleDecl() local
235 : ModuleScopes.back().BeginLoc; in ActOnModuleDecl()
236 if (BeginLoc.isValid()) { in ActOnModuleDecl()
237 Diag(BeginLoc, diag::note_global_module_introducer_missing) in ActOnModuleDecl()
238 << FixItHint::CreateInsertion(BeginLoc, "module;\n"); in ActOnModuleDecl()
328 ModuleScopes.back().BeginLoc = StartLoc; in ActOnModuleDecl()
379 Diag(ModuleScopes.back().BeginLoc, diag::note_previous_definition); in ActOnPrivateModuleFragmentDecl()
388 Diag(ModuleScopes.back().BeginLoc, in ActOnPrivateModuleFragmentDecl()
390 << FixItHint::CreateInsertion(ModuleScopes.back().BeginLoc, "export "); in ActOnPrivateModuleFragmentDecl()
410 ModuleScopes.back().BeginLoc = ModuleLoc; in ActOnPrivateModuleFragmentDecl()
726 Diag(ModuleScopes.back().BeginLoc, in ActOnStartExportDecl()
728 << FixItHint::CreateInsertion(ModuleScopes.back().BeginLoc, "export "); in ActOnStartExportDecl()
734 Diag(ModuleScopes.back().BeginLoc, diag::note_private_module_fragment); in ActOnStartExportDecl()
920 Module *Sema::PushGlobalModuleFragment(SourceLocation BeginLoc, in PushGlobalModuleFragment() argument
927 BeginLoc, getCurrentModule()); in PushGlobalModuleFragment()
933 ModuleScopes.push_back({BeginLoc, GlobalModuleFragment, in PushGlobalModuleFragment()
938 VisibleModules.setVisible(GlobalModuleFragment, BeginLoc); in PushGlobalModuleFragment()