Lines Matching refs:BeginLoc
126 ModuleScopes.back().BeginLoc = StartOfTU; in HandleStartOfHeaderUnit()
249 SourceLocation BeginLoc = in ActOnModuleDecl() local
252 : ModuleScopes.back().BeginLoc; in ActOnModuleDecl()
253 if (BeginLoc.isValid()) { in ActOnModuleDecl()
254 Diag(BeginLoc, diag::note_global_module_introducer_missing) in ActOnModuleDecl()
255 << FixItHint::CreateInsertion(BeginLoc, "module;\n"); in ActOnModuleDecl()
375 ModuleScopes.back().BeginLoc = StartLoc; in ActOnModuleDecl()
440 Diag(ModuleScopes.back().BeginLoc, diag::note_previous_definition); in ActOnPrivateModuleFragmentDecl()
445 Diag(ModuleScopes.back().BeginLoc, in ActOnPrivateModuleFragmentDecl()
447 << FixItHint::CreateInsertion(ModuleScopes.back().BeginLoc, "export "); in ActOnPrivateModuleFragmentDecl()
469 ModuleScopes.back().BeginLoc = ModuleLoc; in ActOnPrivateModuleFragmentDecl()
772 Diag(ModuleScopes.back().BeginLoc, in ActOnStartExportDecl()
774 << FixItHint::CreateInsertion(ModuleScopes.back().BeginLoc, "export "); in ActOnStartExportDecl()
780 Diag(ModuleScopes.back().BeginLoc, diag::note_private_module_fragment); in ActOnStartExportDecl()
917 Module *Sema::PushGlobalModuleFragment(SourceLocation BeginLoc) { in PushGlobalModuleFragment() argument
923 BeginLoc, getCurrentModule()); in PushGlobalModuleFragment()
929 ModuleScopes.push_back({BeginLoc, TheGlobalModuleFragment, in PushGlobalModuleFragment()
931 VisibleModules.setVisible(TheGlobalModuleFragment, BeginLoc); in PushGlobalModuleFragment()
943 Module *Sema::PushImplicitGlobalModuleFragment(SourceLocation BeginLoc) { in PushImplicitGlobalModuleFragment() argument
947 Map.createImplicitGlobalModuleFragmentForModuleUnit(BeginLoc, in PushImplicitGlobalModuleFragment()
953 ModuleScopes.push_back({BeginLoc, TheImplicitGlobalModuleFragment, in PushImplicitGlobalModuleFragment()
955 VisibleModules.setVisible(TheImplicitGlobalModuleFragment, BeginLoc); in PushImplicitGlobalModuleFragment()