From 497455d28178a11570643f6ddd6fe156aa0c7798 Mon Sep 17 00:00:00 2001 From: Christian Mazakas Date: Thu, 10 Feb 2022 10:07:48 -0800 Subject: [PATCH] Disable clang-specific warning about self-assignment in tests that explicitly aim to test self-assigment --- test/Jamfile.v2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index 3afe22cf..f55d93e3 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -47,7 +47,7 @@ test-suite unordered [ run unordered/constructor_tests.cpp ] [ run unordered/copy_tests.cpp ] [ run unordered/move_tests.cpp ] - [ run unordered/assign_tests.cpp ] + [ run unordered/assign_tests.cpp : : : clang:"-Wno-self-assign-overloaded" ] [ run unordered/insert_tests.cpp ] [ run unordered/insert_stable_tests.cpp ] [ run unordered/insert_hint_tests.cpp ] @@ -90,7 +90,7 @@ test-suite unordered : BOOST_UNORDERED_USE_MOVE : bmove_move ] [ run unordered/assign_tests.cpp : : - : BOOST_UNORDERED_USE_MOVE + : BOOST_UNORDERED_USE_MOVE clang:"-Wno-self-assign-overloaded" : bmove_assign ] ; @@ -98,7 +98,7 @@ test-suite unordered-exception : [ run exception/constructor_exception_tests.cpp framework ] [ run exception/copy_exception_tests.cpp framework ] - [ run exception/assign_exception_tests.cpp framework ] + [ run exception/assign_exception_tests.cpp framework : : : clang:"-Wno-self-assign-overloaded" ] [ run exception/move_assign_exception_tests.cpp framework ] [ run exception/insert_exception_tests.cpp framework ] [ run exception/erase_exception_tests.cpp framework ]