Lines Matching refs:ModuleLoc
75 Sema::ActOnGlobalModuleFragmentDecl(SourceLocation ModuleLoc) { in ActOnGlobalModuleFragmentDecl() argument
82 ModuleScopes.back().BeginLoc = ModuleLoc; in ActOnGlobalModuleFragmentDecl()
89 PushGlobalModuleFragment(ModuleLoc, /*IsImplicit=*/false); in ActOnGlobalModuleFragmentDecl()
148 Sema::ActOnModuleDecl(SourceLocation StartLoc, SourceLocation ModuleLoc, in ActOnModuleDecl() argument
189 Diag(ModuleLoc, diag::err_module_interface_implementation_mismatch) in ActOnModuleDecl()
190 << FixItHint::CreateInsertion(ModuleLoc, "export "); in ActOnModuleDecl()
195 Diag(ModuleLoc, diag::err_module_decl_in_module_map_module); in ActOnModuleDecl()
200 Diag(ModuleLoc, diag::err_module_decl_in_header_module); in ActOnModuleDecl()
212 Diag(ModuleLoc, diag::err_module_redeclaration); in ActOnModuleDecl()
231 Diag(ModuleLoc, diag::err_module_decl_not_at_start); in ActOnModuleDecl()
283 Mod = Map.createModuleForInterfaceUnit(ModuleLoc, ModuleName, in ActOnModuleDecl()
298 Mod = getModuleLoader().loadModule(ModuleLoc, {ModuleNameLoc}, in ActOnModuleDecl()
302 Diag(ModuleLoc, diag::err_module_not_defined) << ModuleName; in ActOnModuleDecl()
304 Mod = Map.createModuleForInterfaceUnit(ModuleLoc, ModuleName, in ActOnModuleDecl()
312 Mod = Map.createModuleForInterfaceUnit(ModuleLoc, ModuleName, in ActOnModuleDecl()
332 VisibleModules.setVisible(Mod, ModuleLoc); in ActOnModuleDecl()
352 ImportDecl::Create(Context, CurContext, ModuleLoc, Mod, Path[0].second); in ActOnModuleDecl()
362 Sema::ActOnPrivateModuleFragmentDecl(SourceLocation ModuleLoc, in ActOnPrivateModuleFragmentDecl() argument
410 ModuleScopes.back().BeginLoc = ModuleLoc; in ActOnPrivateModuleFragmentDecl()
413 VisibleModules.setVisible(PrivateModuleFragment, ModuleLoc); in ActOnPrivateModuleFragmentDecl()