Lines Matching refs:ModuleLoc

77 Sema::ActOnGlobalModuleFragmentDecl(SourceLocation ModuleLoc) {  in ActOnGlobalModuleFragmentDecl()  argument
80 PushGlobalModuleFragment(ModuleLoc); in ActOnGlobalModuleFragmentDecl()
173 Sema::ActOnModuleDecl(SourceLocation StartLoc, SourceLocation ModuleLoc, in ActOnModuleDecl() argument
214 Diag(ModuleLoc, diag::err_module_interface_implementation_mismatch) in ActOnModuleDecl()
215 << FixItHint::CreateInsertion(ModuleLoc, "export "); in ActOnModuleDecl()
220 Diag(ModuleLoc, diag::err_module_decl_in_module_map_module); in ActOnModuleDecl()
224 Diag(ModuleLoc, diag::err_module_decl_in_header_unit); in ActOnModuleDecl()
235 Diag(ModuleLoc, diag::err_module_redeclaration); in ActOnModuleDecl()
248 Diag(ModuleLoc, diag::err_module_decl_not_at_start); in ActOnModuleDecl()
323 Mod = Map.createModuleForInterfaceUnit(ModuleLoc, ModuleName); in ActOnModuleDecl()
343 Interface = getModuleLoader().loadModule(ModuleLoc, {ModuleNameLoc}, in ActOnModuleDecl()
349 Diag(ModuleLoc, diag::err_module_not_defined) << ModuleName; in ActOnModuleDecl()
351 Mod = Map.createModuleForInterfaceUnit(ModuleLoc, ModuleName); in ActOnModuleDecl()
353 Mod = Map.createModuleForImplementationUnit(ModuleLoc, ModuleName); in ActOnModuleDecl()
360 Mod = Map.createModuleForInterfaceUnit(ModuleLoc, ModuleName); in ActOnModuleDecl()
377 VisibleModules.setVisible(Mod, ModuleLoc); in ActOnModuleDecl()
399 VisibleModules.setVisible(Interface, ModuleLoc); in ActOnModuleDecl()
400 VisibleModules.makeTransitiveImportsVisible(Interface, ModuleLoc); in ActOnModuleDecl()
403 ImportDecl *Import = ImportDecl::Create(Context, CurContext, ModuleLoc, in ActOnModuleDecl()
422 Sema::ActOnPrivateModuleFragmentDecl(SourceLocation ModuleLoc, in ActOnPrivateModuleFragmentDecl() argument
469 ModuleScopes.back().BeginLoc = ModuleLoc; in ActOnPrivateModuleFragmentDecl()
471 VisibleModules.setVisible(PrivateModuleFragment, ModuleLoc); in ActOnPrivateModuleFragmentDecl()