Use the initial value of EnableFineGrainedDependencies as the default.

This commit is contained in:
David Ungar
2020-01-23 10:12:33 -08:00
parent f696aabffb
commit 98b86c63d1
4 changed files with 10 additions and 3 deletions

View File

@@ -428,7 +428,8 @@ static bool ParseLangArgs(LangOptions &Opts, ArgList &Args,
Opts.EnableFineGrainedDependencies =
Args.hasFlag(options::OPT_enable_fine_grained_dependencies,
options::OPT_disable_fine_grained_dependencies, false);
options::OPT_disable_fine_grained_dependencies,
Opts.EnableFineGrainedDependencies);
if (Args.hasArg(OPT_emit_fine_grained_dependency_sourcefile_dot_files))
Opts.EmitFineGrainedDependencySourcefileDotFiles = true;