This is an archive of the discontinued LLVM Phabricator instance.

[libc++] allow redefined macro in non_trivial_copy_move_ABI test
ClosedPublic

Authored by emaste on Jan 14 2023, 1:03 PM.

Details

Summary

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

Diff Detail

Event Timeline

emaste created this revision.Jan 14 2023, 1:03 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 14 2023, 1:03 PM
emaste requested review of this revision.Jan 14 2023, 1:03 PM
Herald added a reviewer: Restricted Project. · View Herald TranscriptJan 14 2023, 1:03 PM
philnik accepted this revision.Jan 14 2023, 3:59 PM
This revision is now accepted and ready to land.Jan 14 2023, 3:59 PM
This revision was landed with ongoing or failed builds.Jan 16 2023, 5:49 AM
This revision was automatically updated to reflect the committed changes.