Lines Matching refs:BeginLoc
83 ModuleScopes.back().BeginLoc = ModuleLoc; in ActOnGlobalModuleFragmentDecl()
135 ModuleScopes.back().BeginLoc = StartOfTU; in HandleStartOfHeaderUnit()
255 SourceLocation BeginLoc = in ActOnModuleDecl() local
258 : ModuleScopes.back().BeginLoc; in ActOnModuleDecl()
259 if (BeginLoc.isValid()) { in ActOnModuleDecl()
260 Diag(BeginLoc, diag::note_global_module_introducer_missing) in ActOnModuleDecl()
261 << FixItHint::CreateInsertion(BeginLoc, "module;\n"); in ActOnModuleDecl()
383 ModuleScopes.back().BeginLoc = StartLoc; in ActOnModuleDecl()
434 Diag(ModuleScopes.back().BeginLoc, diag::note_previous_definition); in ActOnPrivateModuleFragmentDecl()
443 Diag(ModuleScopes.back().BeginLoc, in ActOnPrivateModuleFragmentDecl()
445 << FixItHint::CreateInsertion(ModuleScopes.back().BeginLoc, "export "); in ActOnPrivateModuleFragmentDecl()
465 ModuleScopes.back().BeginLoc = ModuleLoc; in ActOnPrivateModuleFragmentDecl()
773 Diag(ModuleScopes.back().BeginLoc, in ActOnStartExportDecl()
775 << FixItHint::CreateInsertion(ModuleScopes.back().BeginLoc, "export "); in ActOnStartExportDecl()
781 Diag(ModuleScopes.back().BeginLoc, diag::note_private_module_fragment); in ActOnStartExportDecl()
978 Module *Sema::PushGlobalModuleFragment(SourceLocation BeginLoc, in PushGlobalModuleFragment() argument
985 BeginLoc, getCurrentModule()); in PushGlobalModuleFragment()
991 ModuleScopes.push_back({BeginLoc, GlobalModuleFragment, in PushGlobalModuleFragment()
996 VisibleModules.setVisible(GlobalModuleFragment, BeginLoc); in PushGlobalModuleFragment()