Lines Matching refs:ModuleLoc

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