[libcxx-commits] [PATCH] D141774: [libc++] allow redefined macro in non_trivial_copy_move_ABI test
Ed Maste via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Sat Jan 14 13:03:31 PST 2023
emaste created this revision.
emaste added a reviewer: philnik.
emaste added a project: libc++.
Herald added subscribers: krytarowski, arichardson.
Herald added a project: All.
emaste requested review of this revision.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.
//__config// defines `_LIBCPP_DEPRECATED_ABI_DISABLE_PAIR_TRIVIAL_COPY_CTOR` on FreeBSD, which conflicts with a command-line definition used by the non_trivial_copy_move_ABI test.
Add -Wno-macro-redefined to ADDITIONAL_COMPILE_FLAGS in this test.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D141774
Files:
libcxx/test/libcxx/utilities/utility/pairs/pairs.pair/non_trivial_copy_move_ABI.pass.cpp
Index: libcxx/test/libcxx/utilities/utility/pairs/pairs.pair/non_trivial_copy_move_ABI.pass.cpp
===================================================================
--- libcxx/test/libcxx/utilities/utility/pairs/pairs.pair/non_trivial_copy_move_ABI.pass.cpp
+++ libcxx/test/libcxx/utilities/utility/pairs/pairs.pair/non_trivial_copy_move_ABI.pass.cpp
@@ -17,6 +17,7 @@
// Test that we provide the non-trivial copy operations when _LIBCPP_DEPRECATED_ABI_DISABLE_PAIR_TRIVIAL_COPY_CTOR
// is specified.
// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_DEPRECATED_ABI_DISABLE_PAIR_TRIVIAL_COPY_CTOR
+// ADDITIONAL_COMPILE_FLAGS: -Wno-macro-redefined
#include <utility>
#include <type_traits>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141774.489309.patch
Type: text/x-patch
Size: 685 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230114/90d075a9/attachment.bin>
More information about the libcxx-commits
mailing list