diff --git a/include/llvm/ADT/STLExtras.h b/include/llvm/ADT/STLExtras.h index d1756d45d7c..94365dd9ced 100644 --- a/include/llvm/ADT/STLExtras.h +++ b/include/llvm/ADT/STLExtras.h @@ -61,7 +61,8 @@ using ValueOfRange = typename std::remove_reference //===----------------------------------------------------------------------===// -template struct negation : std::bool_constant {}; +template +struct negation : std::integral_constant {}; template struct conjunction : std::true_type {}; template struct conjunction : B1 {};