r276797 - Modules: follow up to r276769.

Manman Ren via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 26 12:56:12 PDT 2016


Author: mren
Date: Tue Jul 26 14:56:12 2016
New Revision: 276797

URL: http://llvm.org/viewvc/llvm-project?rev=276797&view=rev
Log:
Modules: follow up to r276769.

In r276769, I forgot to forward the driver option, add that here.

rdar://26675801

Modified:
    cfe/trunk/lib/Driver/Tools.cpp

Modified: cfe/trunk/lib/Driver/Tools.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Tools.cpp?rev=276797&r1=276796&r2=276797&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Tools.cpp (original)
+++ cfe/trunk/lib/Driver/Tools.cpp Tue Jul 26 14:56:12 2016
@@ -5443,6 +5443,7 @@ void Clang::ConstructJob(Compilation &C,
   }
 
   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,




More information about the cfe-commits mailing list