Lines Matching refs:ExportLoc
575 SourceLocation ExportLoc, in ActOnModuleImport() argument
629 return ActOnModuleImport(StartLoc, ExportLoc, ImportLoc, Mod, Path); in ActOnModuleImport()
641 SourceLocation ExportLoc, in ActOnModuleImport() argument
700 if (getLangOpts().CPlusPlusModules && ExportLoc.isValid() && in ActOnModuleImport()
702 Diag(ExportLoc, diag::err_export_partition_impl) in ActOnModuleImport()
703 << SourceRange(ExportLoc, Path.back().second); in ActOnModuleImport()
708 if (ExportLoc.isValid() || getEnclosingExportDecl(Import)) in ActOnModuleImport()
712 } else if (ExportLoc.isValid()) { in ActOnModuleImport()
716 Diag(ExportLoc, diag::err_export_not_in_module_interface); in ActOnModuleImport()
844 Decl *Sema::ActOnStartExportDecl(Scope *S, SourceLocation ExportLoc, in ActOnStartExportDecl() argument
846 ExportDecl *D = ExportDecl::Create(Context, CurContext, ExportLoc); in ActOnStartExportDecl()
860 Diag(ExportLoc, diag::err_export_not_in_module_interface) << 0; in ActOnStartExportDecl()
864 Diag(ExportLoc, diag::err_export_not_in_module_interface) << 1; in ActOnStartExportDecl()
872 Diag(ExportLoc, diag::err_export_in_private_module_fragment); in ActOnStartExportDecl()
884 Diag(ExportLoc, diag::err_export_within_anonymous_namespace); in ActOnStartExportDecl()
904 Diag(ExportLoc, diag::err_export_within_export); in ActOnStartExportDecl()