From: Hans Wennborg Date: Tue, 24 Sep 2013 17:36:21 +0000 (+0000) Subject: clang-cl: pass /nologo when falling back to cl.exe X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1413d629953d24647afaea7f0e0d16078d95ab7c;p=clang clang-cl: pass /nologo when falling back to cl.exe git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191316 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp index 6a803cc17d..5b96120df9 100644 --- a/lib/Driver/Tools.cpp +++ b/lib/Driver/Tools.cpp @@ -6702,6 +6702,7 @@ Command *visualstudio::Compile::GetCommand(Compilation &C, const JobAction &JA, const ArgList &Args, const char *LinkingOutput) const { ArgStringList CmdArgs; + CmdArgs.push_back("/nologo"); CmdArgs.push_back("/c"); // Compile only. CmdArgs.push_back("/W0"); // No warnings. diff --git a/test/Driver/cl-fallback.c b/test/Driver/cl-fallback.c index 1a0d7e01fe..715686c624 100644 --- a/test/Driver/cl-fallback.c +++ b/test/Driver/cl-fallback.c @@ -9,6 +9,7 @@ // CHECK: "-fdiagnostics-format" "msvc-fallback" // CHECK: || // CHECK: cl.exe +// CHECK: "/nologo" // CHECK: "/c" // CHECK: "/W0" // CHECK: "-D" "foo=bar"