Lines Matching defs:ModuleLoc
163 Sema::ActOnGlobalModuleFragmentDecl(SourceLocation ModuleLoc) {
166 PushGlobalModuleFragment(ModuleLoc);
259 Sema::ActOnModuleDecl(SourceLocation StartLoc, SourceLocation ModuleLoc,
300 Diag(ModuleLoc, diag::err_module_interface_implementation_mismatch)
301 << FixItHint::CreateInsertion(ModuleLoc, "export ");
306 Diag(ModuleLoc, diag::err_module_decl_in_module_map_module);
310 Diag(ModuleLoc, diag::err_module_decl_in_header_unit);
321 Diag(ModuleLoc, diag::err_module_redeclaration);
334 Diag(ModuleLoc, diag::err_module_decl_not_at_start);
409 Mod = Map.createModuleForInterfaceUnit(ModuleLoc, ModuleName);
429 Interface = getModuleLoader().loadModule(ModuleLoc, {ModuleNameLoc},
435 Diag(ModuleLoc, diag::err_module_not_defined) << ModuleName;
437 Mod = Map.createModuleForInterfaceUnit(ModuleLoc, ModuleName);
439 Mod = Map.createModuleForImplementationUnit(ModuleLoc, ModuleName);
446 Mod = Map.createModuleForInterfaceUnit(ModuleLoc, ModuleName);
463 VisibleModules.setVisible(Mod, ModuleLoc);
489 Mod, ModuleLoc,
493 ImportDecl *Import = ImportDecl::Create(Context, CurContext, ModuleLoc,
512 Sema::ActOnPrivateModuleFragmentDecl(SourceLocation ModuleLoc,
559 ModuleScopes.back().BeginLoc = ModuleLoc;
561 VisibleModules.setVisible(PrivateModuleFragment, ModuleLoc);