mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user