[all-commits] [llvm/llvm-project] b3e9b0: Avoid testing for libc++ internal macros after D99834

Dimitry Andric via All-commits all-commits at lists.llvm.org
Wed Apr 7 09:53:29 PDT 2021


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

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

  Log Message:
  -----------
  Avoid testing for libc++ internal macros after D99834

As D99834 was meant specifically for FreeBSD, which still uses the older
non-trivial std::pair copy constructors, test for `__FreeBSD__` instead
of relying on a macro which is an internal detail of libc++.

Noted by Louis Dionne.




More information about the All-commits mailing list