commit | c4d3afdfadc8caa537621ea508b23e328b0aaafc | [log] [tgz] |
---|---|---|
author | Marshall Clow <mclow.lists@gmail.com> | Thu Jan 12 16:25:07 2017 +0000 |
committer | Marshall Clow <mclow.lists@gmail.com> | Thu Jan 12 16:25:07 2017 +0000 |
tree | d8fe7ee68315e64da9d7d3d07a1642ecb3865488 | |
parent | c84cd4a0908bb1bc2b09c3cbe1bf4c374e8e447e [diff] |
Add new macro _LIBCPP_BUILTIN_MEMCMP_ISCONSTEXPR to use in std::char_traits. This tells whether or not the builtin function __builtin_memcmp is constexpr. Only defined for clang 4.0 and later, and not true for any shipping version of Apple's clang. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@291773 91177308-0d34-0410-b5e6-96231b3b80d8