Lines Matching defs:ModuleLoc
162 Sema::ActOnGlobalModuleFragmentDecl(SourceLocation ModuleLoc) {
165 PushGlobalModuleFragment(ModuleLoc);
258 Sema::ActOnModuleDecl(SourceLocation StartLoc, SourceLocation ModuleLoc,
299 Diag(ModuleLoc, diag::err_module_interface_implementation_mismatch)
300 << FixItHint::CreateInsertion(ModuleLoc, "export ");
305 Diag(ModuleLoc, diag::err_module_decl_in_module_map_module);
309 Diag(ModuleLoc, diag::err_module_decl_in_header_unit);
320 Diag(ModuleLoc, diag::err_module_redeclaration);
333 Diag(ModuleLoc, diag::err_module_decl_not_at_start);
408 Mod = Map.createModuleForInterfaceUnit(ModuleLoc, ModuleName);
428 Interface = getModuleLoader().loadModule(ModuleLoc, {ModuleNameLoc},
434 Diag(ModuleLoc, diag::err_module_not_defined) << ModuleName;
436 Mod = Map.createModuleForInterfaceUnit(ModuleLoc, ModuleName);
438 Mod = Map.createModuleForImplementationUnit(ModuleLoc, ModuleName);
445 Mod = Map.createModuleForInterfaceUnit(ModuleLoc, ModuleName);
462 VisibleModules.setVisible(Mod, ModuleLoc);
488 Mod, ModuleLoc,
492 ImportDecl *Import = ImportDecl::Create(Context, CurContext, ModuleLoc,
511 Sema::ActOnPrivateModuleFragmentDecl(SourceLocation ModuleLoc,
558 ModuleScopes.back().BeginLoc = ModuleLoc;
560 VisibleModules.setVisible(PrivateModuleFragment, ModuleLoc);