freebsd-dev/contrib/llvm-project/libcxx
Dimitry Andric 2df58f1907 Apply libc++ fix for compiling <type_traits> with gcc 13
Merge commit 484e64f7e7b2 from llvm-project (by Roland McGrath):

  [libc++] Use __is_convertible built-in when available

  https://github.com/llvm/llvm-project/issues/62396 reports that
  GCC 13 barfs on parsing <type_traits> because of the declarations
  of `struct __is_convertible`.  In GCC 13, `__is_convertible` is a
  built-in, but `__is_convertible_to` is not.  Clang has both, so
  using either should be fine.

  Reviewed By: #libc, philnik

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

Reported by:	Mark Millard <marklmi@yahoo.com>
MFC after:	3 days
2023-05-05 18:19:40 +02:00
..
include Apply libc++ fix for compiling <type_traits> with gcc 13 2023-05-05 18:19:40 +02:00
src Merge llvm-project release/15.x llvmorg-15.0.0-rc2-40-gfbd2950d8d0d 2023-02-08 20:04:56 +01:00
CREDITS.TXT Merge llvm-project main llvmorg-14-init-13186-g0c553cc1af2e 2022-05-14 13:44:01 +02:00
LICENSE.TXT