summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2017-03-16 17:05:16 +0000
committerReid Kleckner <rnk@google.com>2017-03-16 17:05:16 +0000
commit9f3585dad39f1c6f9b0eeb830254925797b36f36 (patch)
treeaa77c9ca62004ff9a08c27be8c11e2f8517d4c38 /llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp
parent1275a2dec8564ced4a4679bcb82fdaa241a87805 (diff)
downloadbcm5719-llvm-9f3585dad39f1c6f9b0eeb830254925797b36f36.tar.gz
bcm5719-llvm-9f3585dad39f1c6f9b0eeb830254925797b36f36.zip
[cmake] Refactor warning flag logic to use Unix warnings with clang-cl
Summary: clang-cl understands the GCC-style -W[no-]foo flags, and for the most part ignores MSVC -wd flags. So, let's pass the curated set of warning flags we use on Unix on Windows. We can also stop passing /W4 -wd*, which for the most part corresponds to -Wall -Wextra with a bunch of flags that we mostly ignore. I had to disable -Wnon-virtual-dtor on Windows, because it fires on every COM class ever. I filed PR32286 to fix this. So far I've only found two instances of -Wstring-conversion in the WinASan code, which I'll fix. Other than that we seem clean. Reviewers: hans Subscribers: mgorny, llvm-commits Differential Revision: https://reviews.llvm.org/D30992 llvm-svn: 297964
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud