Lines Matching defs:BeginLoc
211 ModuleScopes.back().BeginLoc = StartOfTU;
334 SourceLocation BeginLoc =
337 : ModuleScopes.back().BeginLoc;
338 if (BeginLoc.isValid()) {
339 Diag(BeginLoc, diag::note_global_module_introducer_missing)
340 << FixItHint::CreateInsertion(BeginLoc, "module;\n");
460 ModuleScopes.back().BeginLoc = StartLoc;
529 Diag(ModuleScopes.back().BeginLoc, diag::note_previous_definition);
534 Diag(ModuleScopes.back().BeginLoc,
536 << FixItHint::CreateInsertion(ModuleScopes.back().BeginLoc, "export ");
558 ModuleScopes.back().BeginLoc = ModuleLoc;
872 Diag(ModuleScopes.back().BeginLoc,
874 << FixItHint::CreateInsertion(ModuleScopes.back().BeginLoc, "export ");
880 Diag(ModuleScopes.back().BeginLoc, diag::note_private_module_fragment);
1033 Module *Sema::PushGlobalModuleFragment(SourceLocation BeginLoc) {
1039 BeginLoc, getCurrentModule());
1045 ModuleScopes.push_back({BeginLoc, TheGlobalModuleFragment,
1047 VisibleModules.setVisible(TheGlobalModuleFragment, BeginLoc);
1059 Module *Sema::PushImplicitGlobalModuleFragment(SourceLocation BeginLoc) {
1063 Map.createImplicitGlobalModuleFragmentForModuleUnit(BeginLoc,
1069 ModuleScopes.push_back({BeginLoc, TheImplicitGlobalModuleFragment,
1071 VisibleModules.setVisible(TheImplicitGlobalModuleFragment, BeginLoc);