From: Manman Ren Date: Tue, 26 Jul 2016 19:56:12 +0000 (+0000) Subject: Modules: follow up to r276769. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=956c8cb2b2e0c2b2e7ec6007275b22c98a488667;p=clang Modules: follow up to r276769. 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 --- diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp index fda2f9b7df..4038f0f5df 100644 --- a/lib/Driver/Tools.cpp +++ b/lib/Driver/Tools.cpp @@ -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,