]> granicus.if.org Git - clang/commitdiff
clang-cl: pass /nologo when falling back to cl.exe
authorHans Wennborg <hans@hanshq.net>
Tue, 24 Sep 2013 17:36:21 +0000 (17:36 +0000)
committerHans Wennborg <hans@hanshq.net>
Tue, 24 Sep 2013 17:36:21 +0000 (17:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191316 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/Tools.cpp
test/Driver/cl-fallback.c

index 6a803cc17d1f29e1605dd6fdc1583984bb0b0b56..5b96120df9775d9356ec5d2d90c4ba2717491eb5 100644 (file)
@@ -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.
 
index 1a0d7e01fe0c9fb40a17ecefb41acc8a5899ad59..715686c6249d73b878ba27f6728aad1dc0d239f2 100644 (file)
@@ -9,6 +9,7 @@
 // CHECK: "-fdiagnostics-format" "msvc-fallback"
 // CHECK: ||
 // CHECK: cl.exe
+// CHECK: "/nologo"
 // CHECK: "/c"
 // CHECK: "/W0"
 // CHECK: "-D" "foo=bar"