Remove Swift 3 @objc behavior

This commit is contained in:
Slava Pestov
2018-10-30 16:03:09 -04:00
parent 026895673b
commit 38ccddd24f
2 changed files with 5 additions and 10 deletions

View File

@@ -364,8 +364,7 @@ static bool ParseLangArgs(LangOptions &Opts, ArgList &Args,
Opts.EnableSwift3ObjCInference =
Args.hasFlag(OPT_enable_swift3_objc_inference,
OPT_disable_swift3_objc_inference,
Opts.isSwiftVersion3());
OPT_disable_swift3_objc_inference, false);
if (Opts.EnableSwift3ObjCInference) {
if (const Arg *A = Args.getLastArg(