Lines Matching refs:BeginLoc

212   ModuleScopes.back().BeginLoc = StartOfTU;  in HandleStartOfHeaderUnit()
335 SourceLocation BeginLoc = in ActOnModuleDecl() local
338 : ModuleScopes.back().BeginLoc; in ActOnModuleDecl()
339 if (BeginLoc.isValid()) { in ActOnModuleDecl()
340 Diag(BeginLoc, diag::note_global_module_introducer_missing) in ActOnModuleDecl()
341 << FixItHint::CreateInsertion(BeginLoc, "module;\n"); in ActOnModuleDecl()
461 ModuleScopes.back().BeginLoc = StartLoc; in ActOnModuleDecl()
530 Diag(ModuleScopes.back().BeginLoc, diag::note_previous_definition); in ActOnPrivateModuleFragmentDecl()
535 Diag(ModuleScopes.back().BeginLoc, in ActOnPrivateModuleFragmentDecl()
537 << FixItHint::CreateInsertion(ModuleScopes.back().BeginLoc, "export "); in ActOnPrivateModuleFragmentDecl()
559 ModuleScopes.back().BeginLoc = ModuleLoc; in ActOnPrivateModuleFragmentDecl()
865 Diag(ModuleScopes.back().BeginLoc, in ActOnStartExportDecl()
867 << FixItHint::CreateInsertion(ModuleScopes.back().BeginLoc, "export "); in ActOnStartExportDecl()
873 Diag(ModuleScopes.back().BeginLoc, diag::note_private_module_fragment); in ActOnStartExportDecl()
1026 Module *Sema::PushGlobalModuleFragment(SourceLocation BeginLoc) { in PushGlobalModuleFragment() argument
1032 BeginLoc, getCurrentModule()); in PushGlobalModuleFragment()
1038 ModuleScopes.push_back({BeginLoc, TheGlobalModuleFragment, in PushGlobalModuleFragment()
1040 VisibleModules.setVisible(TheGlobalModuleFragment, BeginLoc); in PushGlobalModuleFragment()
1052 Module *Sema::PushImplicitGlobalModuleFragment(SourceLocation BeginLoc) { in PushImplicitGlobalModuleFragment() argument
1056 Map.createImplicitGlobalModuleFragmentForModuleUnit(BeginLoc, in PushImplicitGlobalModuleFragment()
1062 ModuleScopes.push_back({BeginLoc, TheImplicitGlobalModuleFragment, in PushImplicitGlobalModuleFragment()
1064 VisibleModules.setVisible(TheImplicitGlobalModuleFragment, BeginLoc); in PushImplicitGlobalModuleFragment()