[all-commits] [llvm/llvm-project] 2b91db: [libc++] allow redefined macro in non_trivial_copy...

Ed Maste via All-commits all-commits at lists.llvm.org
Mon Jan 16 05:49:33 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2b91dbae650e7a336a7d49b19f5181d163c1fe21
      https://github.com/llvm/llvm-project/commit/2b91dbae650e7a336a7d49b19f5181d163c1fe21
  Author: Ed Maste <emaste at FreeBSD.org>
  Date:   2023-01-16 (Mon, 16 Jan 2023)

  Changed paths:
    M libcxx/test/libcxx/utilities/utility/pairs/pairs.pair/non_trivial_copy_move_ABI.pass.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list