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