llvm.org GIT mirror llvm / 81149d0
Fix bit_cast __is_trivially_copyable It's a function-like builtin, not a template. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@341866 91177308-0d34-0410-b5e6-96231b3b80d8 JF Bastien 1 year, 10 months ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
2626 , typename = typename std::enable_if::value>::type
2727 , typename = typename std::enable_if::value>::type
2828 #elif __has_feature(is_trivially_copyable)
29 , typename = typename std::enable_if<__is_trivially_copyable::value>::type
30 , typename = typename std::enable_if<__is_trivially_copyable::value>::type
29 , typename = typename std::enable_if<__is_trivially_copyable(To>>::type
30 , typename = typename std::enable_if<__is_trivially_copyable(From)>::type
3131 #else
3232 // This case is GCC 4.x. clang with libc++ or libstdc++ never get here. Unlike
3333 // llvm/Support/type_traits.h's isPodLike we don't want to provide a