DescriptionDisable /analyze when building with clang
When doing x64 builds of Chrome with VC++ we compile some modules
(currently just libyuv) with clang, in order to get inline assembly
support. This causes problems on /analyze builds because clang-cl
doesn't understand the /analyze compiler switches. This change
disables /analyze for those files that are compiled with clang.
With this change I can do a /analyze build of libyuv without
hitting any errors, but warnings are emitted as appropriate.
R=brettw@chromium.org
BUG=427616
Review-Url: https://codereview.chromium.org/2786733005
Cr-Commit-Position: refs/heads/master@{#460874}
Committed: https://chromium.googlesource.com/chromium/src/+/bb4bb0ebf2bfc2881100122e1513ee3f694744a0
Patch Set 1 #
Messages
Total messages: 12 (8 generated)
|