diff options
author | Roman Lebedev <lebedev.ri@gmail.com> | 2017-06-10 17:19:19 +0000 |
---|---|---|
committer | Roman Lebedev <lebedev.ri@gmail.com> | 2017-06-10 17:19:19 +0000 |
commit | b0120740c42bba99a83e33930f3c04db6a2af2c4 (patch) | |
tree | a89ee4879f8639542bd8a61fccd303a7c99f3746 /llvm/lib/Object/WindowsResource.cpp | |
parent | 3cca1da20ca3b1a1e5930dd23169e3d716b37548 (diff) | |
download | llvm-b0120740c42bba99a83e33930f3c04db6a2af2c4.zip llvm-b0120740c42bba99a83e33930f3c04db6a2af2c4.tar.gz llvm-b0120740c42bba99a83e33930f3c04db6a2af2c4.tar.bz2 |
[clang] Implement -Wcast-qual for C++
Summary:
This way, the behavior of that warning flag
more closely resembles that of GCC.
Do note that there is at least one false-negative (see FIXME in tests).
Fixes PR4802.
Testing:
```
ninja check-clang-sema check-clang-semacxx
```
Reviewers: dblaikie, majnemer, rnk
Reviewed By: dblaikie, rnk
Subscribers: cfe-commits, alexfh, rnk
Differential Revision: https://reviews.llvm.org/D33102
llvm-svn: 305147
Diffstat (limited to 'llvm/lib/Object/WindowsResource.cpp')
0 files changed, 0 insertions, 0 deletions