]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Pull in r345199 from upstream libc++ trunk (by Petr Hosek):
authorDimitry Andric <dim@FreeBSD.org>
Mon, 18 Feb 2019 18:34:13 +0000 (18:34 +0000)
committerDimitry Andric <dim@FreeBSD.org>
Mon, 18 Feb 2019 18:34:13 +0000 (18:34 +0000)
commit993b827f31878d30ae6281184c9253c8d23a9810
tree61ca28a4333cecfbbee9476c53931ff1cc0cb9c3
parent28ef0240e016add2f2e82d67417f7c1dffd87083
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