mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Initial plumbing for private dependencies
Add a mode bit to the dependency collector that respects the frontend flag in the previous commit. Notably, we now write over the dependency files at the end of the compiler pipeline when this flag is on so that dependency from SILGen and IRGen are properly written to disk.
This commit is contained in:
@@ -434,6 +434,9 @@ static bool ParseLangArgs(LangOptions &Opts, ArgList &Args,
|
||||
if (Args.hasArg(OPT_enable_experimental_additive_arithmetic_derivation))
|
||||
Opts.EnableExperimentalAdditiveArithmeticDerivedConformances = true;
|
||||
|
||||
if (Args.hasArg(OPT_experimental_private_intransitive_dependencies))
|
||||
Opts.EnableExperientalPrivateIntransitiveDependencies = true;
|
||||
|
||||
Opts.EnableExperimentalForwardModeDifferentiation |=
|
||||
Args.hasArg(OPT_enable_experimental_forward_mode_differentiation);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user