[AutoDiff upstream] set EnableExperimentalDifferentiableProgramming bool (#28001)

I noticed that the PR introducing `EnableExperimentalDifferentiableProgramming` (https://github.com/apple/swift/pull/27446) does not actually set it. This PR sets it.
This commit is contained in:
marcrasi
2019-11-04 22:02:33 -08:00
committed by Richard Wei
parent 96a38f68ab
commit 513467fc92

View File

@@ -358,6 +358,9 @@ static bool ParseLangArgs(LangOptions &Opts, ArgList &Args,
if (Args.hasArg(OPT_experimental_dependency_include_intrafile))
Opts.ExperimentalDependenciesIncludeIntrafileOnes = true;
if (Args.hasArg(OPT_enable_experimental_differentiable_programming))
Opts.EnableExperimentalDifferentiableProgramming = true;
Opts.DebuggerSupport |= Args.hasArg(OPT_debugger_support);
if (Opts.DebuggerSupport)
Opts.EnableDollarIdentifiers = true;