OSDN Git Service

Update msbuild integration warnings: Don't warn on /Zi and /X
authorNico Weber <nicolasweber@gmx.de>
Tue, 7 Aug 2018 19:55:12 +0000 (19:55 +0000)
committerNico Weber <nicolasweber@gmx.de>
Tue, 7 Aug 2018 19:55:12 +0000 (19:55 +0000)
commitef9e40100809eace4c9c15065529f2d800b8d325
tree902df32601e176785581a6741088298ab82439a3
parentb651cfc711967d5670d3555d8ccc7b066d253f91
Update msbuild integration warnings: Don't warn on /Zi and /X

We do need to map /Zi to /Z7 explicitly for msbuild as explained in this file,
but since /Zi is passed by default and since things transparently work fine
with it mapped to /Z7, we shouldn't produce effectively inactionable noise for
it.

Also don't warn on /X since clang-cl supports that (since r326357; the risk of
duplicating a bunch of clang-cl driver logic here).

https://reviews.llvm.org/D50398

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@339169 91177308-0d34-0410-b5e6-96231b3b80d8
tools/msbuild/LLVM.Cpp.Common.targets