]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Pull in r345199 from upstream libc++ trunk (by Petr Hosek):
authordim <dim@FreeBSD.org>
Mon, 18 Feb 2019 18:34:13 +0000 (18:34 +0000)
committerdim <dim@FreeBSD.org>
Mon, 18 Feb 2019 18:34:13 +0000 (18:34 +0000)
commitaf733baf8fa25e9df13dec61aee31d804a7fe97f
tree61ca28a4333cecfbbee9476c53931ff1cc0cb9c3
parentd3280f0f29457cd229c395cb9eb56f31d68e0bae
Pull in r345199 from upstream libc++ trunk (by Petr Hosek):

  Revert "Teach __libcpp_is_floating_point that __fp16 and _Float16 are
  floating-point types."

  This reverts commits r333103 and r333108. _Float16 and __fp16 are C11
  extensions and compilers other than Clang don't define these for C++.

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

This prevents "_Float16 is not supported on this target" errors in
libc++'s type_traits header, in some cases.

Reported by: Charlie Li
MFC after: 3 days
contrib/libc++/include/type_traits