[nfc][cxx-interop] Rename cxx-compatibility-mode -> cxx-interoperability-mode.

This commit is contained in:
zoecarver
2023-03-07 10:04:30 -08:00
parent b64b52ae83
commit dcd83a807f
6 changed files with 14 additions and 14 deletions

View File

@@ -913,7 +913,7 @@ static bool ParseLangArgs(LangOptions &Opts, ArgList &Args,
Opts.ClangTarget = llvm::Triple(A->getValue());
}
if (Arg *A = Args.getLastArg(OPT_cxx_compatibility_mode)) {
if (Arg *A = Args.getLastArg(OPT_cxx_interoperability_mode)) {
if (Args.hasArg(OPT_enable_experimental_cxx_interop)) {
Diags.diagnose(SourceLoc(), diag::dont_enable_interop_and_compat);
}