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