clang-cl: pass /nologo when falling back to cl.exe

llvm-svn: 191316
This commit is contained in:
Hans Wennborg 2013-09-24 17:36:21 +00:00
parent 2939dd3d11
commit 263c213061
2 changed files with 2 additions and 0 deletions

View 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.

View File

@ -9,6 +9,7 @@
// CHECK: "-fdiagnostics-format" "msvc-fallback"
// CHECK: ||
// CHECK: cl.exe
// CHECK: "/nologo"
// CHECK: "/c"
// CHECK: "/W0"
// CHECK: "-D" "foo=bar"