Lines Matching refs:ExportLoc
485 SourceLocation ExportLoc, in ActOnModuleImport() argument
539 return ActOnModuleImport(StartLoc, ExportLoc, ImportLoc, Mod, Path); in ActOnModuleImport()
551 SourceLocation ExportLoc, in ActOnModuleImport() argument
606 if (getLangOpts().CPlusPlusModules && ExportLoc.isValid() && in ActOnModuleImport()
608 Diag(ExportLoc, diag::err_export_partition_impl) in ActOnModuleImport()
609 << SourceRange(ExportLoc, Path.back().second); in ActOnModuleImport()
614 if (ExportLoc.isValid() || getEnclosingExportDecl(Import)) in ActOnModuleImport()
618 } else if (ExportLoc.isValid()) { in ActOnModuleImport()
622 Diag(ExportLoc, diag::err_export_not_in_module_interface); in ActOnModuleImport()
752 Decl *Sema::ActOnStartExportDecl(Scope *S, SourceLocation ExportLoc, in ActOnStartExportDecl() argument
754 ExportDecl *D = ExportDecl::Create(Context, CurContext, ExportLoc); in ActOnStartExportDecl()
767 Diag(ExportLoc, diag::err_export_not_in_module_interface) << 0; in ActOnStartExportDecl()
771 Diag(ExportLoc, diag::err_export_not_in_module_interface) << 1; in ActOnStartExportDecl()
779 Diag(ExportLoc, diag::err_export_in_private_module_fragment); in ActOnStartExportDecl()
790 Diag(ExportLoc, diag::err_export_within_anonymous_namespace); in ActOnStartExportDecl()
810 Diag(ExportLoc, diag::err_export_within_export); in ActOnStartExportDecl()