]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Pull in r292833 from upstream libc++ trunk (by Eric Fiselier):
authordim <dim@FreeBSD.org>
Mon, 23 Jan 2017 23:20:00 +0000 (23:20 +0000)
committerdim <dim@FreeBSD.org>
Mon, 23 Jan 2017 23:20:00 +0000 (23:20 +0000)
commit7684177d7a320df5da78ea34de3cd345654980bc
tree17d8d0bcd37b428e569925d12c77c14d787c3909
parent333d7f5c06728b8460900b07ba8e5fb0e3297789
Pull in r292833 from upstream libc++ trunk (by Eric Fiselier):

  Manually force the use of __decltype in C++03 with Clang 3.4.

  <string> uses `decltype` in a way incompatible with `__typeof__`.
  This is problematic when compiling <string> with Clang 3.4 because
  even though it provides `__decltype` libc++ still used `__typeof__`
  because clang 3.4 doesn't provide __is_identifier which libc++
  uses to detect __decltype.

  This patch manually detects Clang 3.4 and properly configures
  for it.

This allows the graphics/openshadinglanguage port to build with
lang/clang34.

PR: 216054
contrib/libc++/include/__config