Lines Matching refs:ExportLoc
482 SourceLocation ExportLoc, in ActOnModuleImport() argument
530 return ActOnModuleImport(StartLoc, ExportLoc, ImportLoc, Mod, Path); in ActOnModuleImport()
542 SourceLocation ExportLoc, in ActOnModuleImport() argument
595 if (getLangOpts().CPlusPlusModules && ExportLoc.isValid() && in ActOnModuleImport()
597 Diag(ExportLoc, diag::err_export_partition_impl) in ActOnModuleImport()
598 << SourceRange(ExportLoc, Path.back().second); in ActOnModuleImport()
606 if (ExportLoc.isValid() || getEnclosingExportDecl(Import)) in ActOnModuleImport()
610 } else if (ExportLoc.isValid()) { in ActOnModuleImport()
614 Diag(ExportLoc, diag::err_export_not_in_module_interface) in ActOnModuleImport()
753 Decl *Sema::ActOnStartExportDecl(Scope *S, SourceLocation ExportLoc, in ActOnStartExportDecl() argument
755 ExportDecl *D = ExportDecl::Create(Context, CurContext, ExportLoc); in ActOnStartExportDecl()
768 Diag(ExportLoc, diag::err_export_not_in_module_interface) << 0; in ActOnStartExportDecl()
772 Diag(ExportLoc, diag::err_export_not_in_module_interface) << 1; in ActOnStartExportDecl()
780 Diag(ExportLoc, diag::err_export_in_private_module_fragment); in ActOnStartExportDecl()
791 Diag(ExportLoc, diag::err_export_within_anonymous_namespace); in ActOnStartExportDecl()
811 Diag(ExportLoc, diag::err_export_within_export); in ActOnStartExportDecl()