Enable lazy ClangImporter diagnostics by default

Replace the existing `-enable-experimental-clang-importer-diagnostics`
flag with an opt-out version entitled `-disable-experimentalc-clang-importer-diagnostics`.
Enable the beviour previously hidden behind the old flag by default.
This commit is contained in:
Nuri Amari
2022-01-16 13:28:59 -05:00
parent 3762ca1fa7
commit 7ec861fbd9
16 changed files with 127 additions and 20 deletions

View File

@@ -328,8 +328,8 @@ namespace swift {
/// Enable experimental flow-sensitive concurrent captures.
bool EnableExperimentalFlowSensitiveConcurrentCaptures = false;
/// Enable experimental ClangImporter diagnostics.
bool EnableExperimentalClangImporterDiagnostics = false;
/// Disable experimental ClangImporter diagnostics.
bool DisableExperimentalClangImporterDiagnostics = false;
/// Enable experimental eager Clang module diagnostics.
bool EnableExperimentalEagerClangModuleDiagnostics = false;