diff options
author | Nico Weber <nicolasweber@gmx.de> | 2017-08-30 20:25:22 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2017-08-30 20:25:22 +0000 |
commit | 955bb84090c13ad03017cea9ded2d19a819e90c9 (patch) | |
tree | d0315fa7875b8334a5033722a21c47492377c629 /llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp | |
parent | 6be49244b1e19fd8675b1fe7581cb4a37ba80bcb (diff) | |
download | llvm-955bb84090c13ad03017cea9ded2d19a819e90c9.zip llvm-955bb84090c13ad03017cea9ded2d19a819e90c9.tar.gz llvm-955bb84090c13ad03017cea9ded2d19a819e90c9.tar.bz2 |
Let -Wdelete-non-virtual-dtor fire in system headers too.
Makes the warning useful again in a std::unique_ptr world, PR28460.
Also make the warning not fire in unevaluated contexts, since system libraries
(e.g. libc++) do do that. This would've been a good change before we started
emitting this warning in system headers too, but "normal" code seems to be less
template-heavy, so we didn't notice until now.
https://reviews.llvm.org/D37235
llvm-svn: 312167
Diffstat (limited to 'llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp')
0 files changed, 0 insertions, 0 deletions