Lines Matching refs:ExportLoc
427 SourceLocation ExportLoc, in ActOnModuleImport() argument
475 return ActOnModuleImport(StartLoc, ExportLoc, ImportLoc, Mod, Path); in ActOnModuleImport()
487 SourceLocation ExportLoc, in ActOnModuleImport() argument
540 if (getLangOpts().CPlusPlusModules && ExportLoc.isValid() && in ActOnModuleImport()
542 Diag(ExportLoc, diag::err_export_partition_impl) in ActOnModuleImport()
543 << SourceRange(ExportLoc, Path.back().second); in ActOnModuleImport()
554 if (ExportLoc.isValid() || getEnclosingExportDecl(Import)) in ActOnModuleImport()
558 } else if (ExportLoc.isValid()) { in ActOnModuleImport()
562 Diag(ExportLoc, diag::err_export_not_in_module_interface) in ActOnModuleImport()
567 getLangOpts().CurrentModule, ExportLoc, false, false); in ActOnModuleImport()
706 Decl *Sema::ActOnStartExportDecl(Scope *S, SourceLocation ExportLoc, in ActOnStartExportDecl() argument
708 ExportDecl *D = ExportDecl::Create(Context, CurContext, ExportLoc); in ActOnStartExportDecl()
721 Diag(ExportLoc, diag::err_export_not_in_module_interface) << 0; in ActOnStartExportDecl()
725 Diag(ExportLoc, diag::err_export_not_in_module_interface) << 1; in ActOnStartExportDecl()
733 Diag(ExportLoc, diag::err_export_in_private_module_fragment); in ActOnStartExportDecl()
744 Diag(ExportLoc, diag::err_export_within_anonymous_namespace); in ActOnStartExportDecl()
764 Diag(ExportLoc, diag::err_export_within_export); in ActOnStartExportDecl()