[all-commits] [llvm/llvm-project] 6fbbb0: Don't check that std::pair is trivially copyable o...

Dimitry Andric via All-commits all-commits at lists.llvm.org
Sun Apr 4 04:14:29 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6fbbb093aea52928bb8df4a2212f44ac3bac7733
      https://github.com/llvm/llvm-project/commit/6fbbb093aea52928bb8df4a2212f44ac3bac7733
  Author: Dimitry Andric <dimitry at andric.com>
  Date:   2021-04-04 (Sun, 04 Apr 2021)

  Changed paths:
    M llvm/unittests/Support/TypeTraitsTest.cpp

  Log Message:
  -----------
  Don't check that std::pair is trivially copyable on FreeBSD

As FreeBSD already used libc++ before it changed its ABI, we still use
the non-trivially copyable version of std::pair, which used to be
exposed via `_LIBCPP_TRIVIAL_PAIR_COPY_CTOR`, but more recently via
`_LIBCPP_DEPRECATED_ABI_DISABLE_PAIR_TRIVIAL_COPY_CTOR`.

Reviewed By: serge-sans-paille

Differential Revision: https://reviews.llvm.org/D99834




More information about the All-commits mailing list