summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/new-ctor-inlined.cpp
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2018-01-17 22:48:09 +0000
committerEric Fiselier <eric@efcs.ca>2018-01-17 22:48:09 +0000
commit6b3e48b46a6e2b3283a9d37cfa3e0ac9c2ff91bb (patch)
treed5c92589648166d9b17060abad203a16c008d198 /clang/test/Analysis/new-ctor-inlined.cpp
parentdf1bb8a65d318f8552546221165404c3343424f7 (diff)
downloadbcm5719-llvm-6b3e48b46a6e2b3283a9d37cfa3e0ac9c2ff91bb.tar.gz
bcm5719-llvm-6b3e48b46a6e2b3283a9d37cfa3e0ac9c2ff91bb.zip
Fix nodiscard failure tests on compilers w/o -verify.
Previously .fail.cpp tests for nodiscard were run with -Wunused-result being a warning, not an error, when the compiler didn't support -verify. When -verify isn't enabled this change judiciously adds -Werror=unused-result when to only the failure tests containing the // expected-error string for nodiscard. As a drive-by change, this patch also adds a missing // UNSUPPORTED: c++2a to a test which was only supposed to run in C++ <= 11. llvm-svn: 322776
Diffstat (limited to 'clang/test/Analysis/new-ctor-inlined.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud