llvm-project/libcxx/test/std/utilities/function.objects
Roman Lebedev 6669e59f88 [libcxx][test] Silence -Wself-assign diagnostics
Summary:
D44883 extends -Wself-assign to also work on C++ classes.
These new warnings pop up in the test suite, so they have to be silenced.

Please refer to the D45082 for disscussion on whether this is the right way to solve this.

Testing: `ninja check-libcxx check-libcxxabi` in stage-2 build.

Reviewers: mclow.lists, EricWF

Reviewed By: EricWF

Subscribers: Quuxplusone, cfe-commits

Differential Revision: https://reviews.llvm.org/D45128

llvm-svn: 329490
2018-04-07 10:36:03 +00:00
..
arithmetic.operations [libcxx] [test] Rename _Up to U, etc. NFCI. 2017-08-11 20:54:09 +00:00
bind Update all bug URL's to point to https://bugs.llvm.org/... 2017-02-17 08:37:03 +00:00
bitwise.operations [libcxx] [test] Rename _Up to U, etc. NFCI. 2017-08-11 20:54:09 +00:00
comparisons Un-XFAIL a test under new GCC version; the GCC bug has been fixed 2018-03-22 19:18:08 +00:00
func.def
func.invoke [libcxx] [test] Make files consistently end with newlines, NFC. 2017-07-29 00:55:22 +00:00
func.memfn Replace __cplusplus comparisons and dialect __has_feature checks with TEST_STD_VER. 2016-06-14 21:31:42 +00:00
func.not_fn [libcxx] [test] Improve MSVC portability. 2018-01-10 00:39:46 +00:00
func.require [libcxx] [test] Update for C++17 feature removals. 2017-08-24 21:24:08 +00:00
func.search Apparently 'C++14' is different than 'c++14' 2018-01-08 22:16:30 +00:00
func.wrap [libcxx][test] Silence -Wself-assign diagnostics 2018-04-07 10:36:03 +00:00
logical.operations [libcxx] [test] Rename _Up to U, etc. NFCI. 2017-08-11 20:54:09 +00:00
negators In C++03, a bunch of the arithmetic/logical/comparison functors (such as negate/bit_not.pass/logical_not) were defined as deriving from unary_funtion. That restriction was removed in C++11, but the tests still check for this. Change the test to look for the embedded types first_argument/second_argument/result_type. No change to the library, just more standards-compliant tests. Thanks to STL @ Microsoft for the suggestion. 2015-01-07 21:51:30 +00:00
refwrap [libcxx] [test] Update for C++17 feature removals. 2017-08-24 21:24:08 +00:00
unord.hash [libcxx] P0604, invoke_result and is_invocable 2017-12-12 18:42:04 +00:00