]> granicus.if.org Git - clang/commitdiff
Modules: follow up to r276769.
authorManman Ren <manman.ren@gmail.com>
Tue, 26 Jul 2016 19:56:12 +0000 (19:56 +0000)
committerManman Ren <manman.ren@gmail.com>
Tue, 26 Jul 2016 19:56:12 +0000 (19:56 +0000)
In r276769, I forgot to forward the driver option, add that here.

rdar://26675801

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@276797 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/Tools.cpp

index fda2f9b7df945d68c642aa945d0dc311b1938db3..4038f0f5df436f6b26ffab8414317b9fcdf2a9b8 100644 (file)
@@ -5443,6 +5443,7 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
   }
 
   Args.AddLastArg(CmdArgs, options::OPT_fmodules_validate_system_headers);
+  Args.AddLastArg(CmdArgs, options::OPT_fmodules_disable_diagnostic_validation);
 
   // -faccess-control is default.
   if (Args.hasFlag(options::OPT_fno_access_control,