llvm-project/libcxx/utils
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
..
google-benchmark
libcxx Fix nodiscard failure tests on compilers w/o -verify. 2018-01-17 22:48:09 +00:00
symcheck-blacklists
cat_files.py
gen_link_script.py
merge_archives.py Use CMAKE_AR instead of the system default 'ar' for merging static libraries 2017-09-13 06:55:44 +00:00
not.py
sym_diff.py
sym_extract.py
sym_match.py