[cxx-interop][nfc] Add flag cxx-interop-getters-setters-as-properties.

This is causing problems in certain cases, disabling by default.
This commit is contained in:
zoecarver
2022-04-20 17:08:53 -07:00
parent 0213f2dd88
commit 21192904ba
7 changed files with 29 additions and 9 deletions

View File

@@ -807,6 +807,8 @@ static bool ParseLangArgs(LangOptions &Opts, ArgList &Args,
Args.hasFlag(OPT_enable_objc_interop, OPT_disable_objc_interop,
Target.isOSDarwin());
Opts.CxxInteropGettersSettersAsProperties = Args.hasArg(OPT_cxx_interop_getters_setters_as_properties);
Opts.VerifyAllSubstitutionMaps |= Args.hasArg(OPT_verify_all_substitution_maps);
Opts.EnableVolatileModules |= Args.hasArg(OPT_enable_volatile_modules);