Lines Matching defs:ExportLoc
574 SourceLocation ExportLoc,
628 return ActOnModuleImport(StartLoc, ExportLoc, ImportLoc, Mod, Path);
640 SourceLocation ExportLoc,
707 if (getLangOpts().CPlusPlusModules && ExportLoc.isValid() &&
709 Diag(ExportLoc, diag::err_export_partition_impl)
710 << SourceRange(ExportLoc, Path.back().second);
715 if (ExportLoc.isValid() || getEnclosingExportDecl(Import))
719 } else if (ExportLoc.isValid()) {
723 Diag(ExportLoc, diag::err_export_not_in_module_interface);
851 Decl *Sema::ActOnStartExportDecl(Scope *S, SourceLocation ExportLoc,
853 ExportDecl *D = ExportDecl::Create(Context, CurContext, ExportLoc);
867 Diag(ExportLoc, diag::err_export_not_in_module_interface) << 0;
871 Diag(ExportLoc, diag::err_export_not_in_module_interface) << 1;
879 Diag(ExportLoc, diag::err_export_in_private_module_fragment);
891 Diag(ExportLoc, diag::err_export_within_anonymous_namespace);
911 Diag(ExportLoc, diag::err_export_within_export);