diff --git a/llvm/include/llvm/ADT/bit.h b/llvm/include/llvm/ADT/bit.h index 0d772acc481f..0e3832127120 100644 --- a/llvm/include/llvm/ADT/bit.h +++ b/llvm/include/llvm/ADT/bit.h @@ -27,7 +27,7 @@ template ::value>::type , typename = typename std::enable_if::value>::type #elif __has_feature(is_trivially_copyable) - , typename = typename std::enable_if<__is_trivially_copyable(To>>::type + , typename = typename std::enable_if<__is_trivially_copyable(To)>::type , typename = typename std::enable_if<__is_trivially_copyable(From)>::type #else // This case is GCC 4.x. clang with libc++ or libstdc++ never get here. Unlike