clang-cl: pass /nologo when falling back to cl.exe
llvm-svn: 191316
This commit is contained in:
parent
2939dd3d11
commit
263c213061
|
@ -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.
|
||||
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
// CHECK: "-fdiagnostics-format" "msvc-fallback"
|
||||
// CHECK: ||
|
||||
// CHECK: cl.exe
|
||||
// CHECK: "/nologo"
|
||||
// CHECK: "/c"
|
||||
// CHECK: "/W0"
|
||||
// CHECK: "-D" "foo=bar"
|
||||
|
|
Loading…
Reference in New Issue