Lines Matching refs:ExportLoc
308 SourceLocation ExportLoc, in ActOnModuleImport() argument
330 return ActOnModuleImport(StartLoc, ExportLoc, ImportLoc, Mod, Path); in ActOnModuleImport()
342 SourceLocation ExportLoc, in ActOnModuleImport() argument
395 if (ExportLoc.isValid() || getEnclosingExportDecl(Import)) in ActOnModuleImport()
397 } else if (ExportLoc.isValid()) { in ActOnModuleImport()
398 Diag(ExportLoc, diag::err_export_not_in_module_interface); in ActOnModuleImport()
523 Decl *Sema::ActOnStartExportDecl(Scope *S, SourceLocation ExportLoc, in ActOnStartExportDecl() argument
525 ExportDecl *D = ExportDecl::Create(Context, CurContext, ExportLoc); in ActOnStartExportDecl()
535 Diag(ExportLoc, diag::err_export_not_in_module_interface) << 0; in ActOnStartExportDecl()
537 Diag(ExportLoc, diag::err_export_not_in_module_interface) << 1; in ActOnStartExportDecl()
543 Diag(ExportLoc, diag::err_export_in_private_module_fragment); in ActOnStartExportDecl()
552 Diag(ExportLoc, diag::err_export_within_anonymous_namespace); in ActOnStartExportDecl()
572 Diag(ExportLoc, diag::err_export_within_export); in ActOnStartExportDecl()