]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r344261:
authordim <dim@FreeBSD.org>
Thu, 21 Feb 2019 07:20:17 +0000 (07:20 +0000)
committerdim <dim@FreeBSD.org>
Thu, 21 Feb 2019 07:20:17 +0000 (07:20 +0000)
commit6e4dacf3f04c990e02dd633672957d3fae47bea6
treed8be911826ae72a106c56f695db4400c39c34f29
parent99d0d31e244c3f1f504d62a26c02419556870691
MFC r344261:

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
contrib/libc++/include/type_traits