From 862439c7cb77c662314371f1d1b298d69264a9a9 Mon Sep 17 00:00:00 2001 From: Zachary Turner Date: Fri, 20 Jul 2018 16:51:55 +0000 Subject: [PATCH] Change bool_constant to integral_constant. bool_constant is C++17. llvm-svn: 337576 --- llvm/include/llvm/ADT/STLExtras.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/llvm/include/llvm/ADT/STLExtras.h b/llvm/include/llvm/ADT/STLExtras.h index d1756d4..94365dd 100644 --- a/llvm/include/llvm/ADT/STLExtras.h +++ b/llvm/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 {}; -- 2.7.4