llvm-project/libcxx/test
Eric Fiselier 6b3e48b46a 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
2018-01-17 22:48:09 +00:00
..
libcxx Implement an _is_allocator type trait for use in deduction guides. 2018-01-11 19:36:22 +00:00
std Fix nodiscard failure tests on compilers w/o -verify. 2018-01-17 22:48:09 +00:00
support [libcxx] [test] Improve MSVC portability. 2018-01-10 00:39:46 +00:00
CMakeLists.txt [libcxx] Support the use of compiler-rt in lit tests 2018-01-08 23:36:53 +00:00
lit.cfg
lit.site.cfg.in [libcxx] Support the use of compiler-rt in lit tests 2018-01-08 23:36:53 +00:00
nothing_to_do.pass.cpp