Re: r292555 - P0426: Make the library implementation of constexpr char_traits a little easier

2017-01-23 Thread Hans Wennborg via cfe-commits
r292807. Thanks, Hans On Thu, Jan 19, 2017 at 5:22 PM, Richard Smith wrote: > Hans, can we get this onto the Clang 4 release branch (along with the > documentation added in r292558 and fixed in r292559)? This will allow us to > avoid libc++ carrying a version test for Clang, and allow it to clea

Re: r292555 - P0426: Make the library implementation of constexpr char_traits a little easier

2017-01-19 Thread Richard Smith via cfe-commits
Hans, can we get this onto the Clang 4 release branch (along with the documentation added in r292558 and fixed in r292559)? This will allow us to avoid libc++ carrying a version test for Clang, and allow it to cleanly finish off its implementation of P0426. On 19 January 2017 at 16:45, Richard Smi

r292555 - P0426: Make the library implementation of constexpr char_traits a little easier

2017-01-19 Thread Richard Smith via cfe-commits
Author: rsmith Date: Thu Jan 19 18:45:35 2017 New Revision: 292555 URL: http://llvm.org/viewvc/llvm-project?rev=292555&view=rev Log: P0426: Make the library implementation of constexpr char_traits a little easier by providing a memchr builtin that returns char* instead of void*. Also add a __has_