[libc++] allow redefined macro in non_trivial_copy_move_ABI test
authorEd Maste <emaste@FreeBSD.org>
Fri, 13 Jan 2023 01:05:42 +0000 (20:05 -0500)
committerEd Maste <emaste@FreeBSD.org>
Mon, 16 Jan 2023 13:49:13 +0000 (08:49 -0500)
commit2b91dbae650e7a336a7d49b19f5181d163c1fe21
tree695dbc2461c53d16c1cdd99496fccebd90cfc0f5
parent2216ee4909f01d6547fd3bda978c00b2c587ff2f
[libc++] allow redefined macro in non_trivial_copy_move_ABI test

__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.

Reviewed By: philnik

Differential Revision: https://reviews.llvm.org/D141774
libcxx/test/libcxx/utilities/utility/pairs/pairs.pair/non_trivial_copy_move_ABI.pass.cpp