From ee762a8b97eaccc6adb31011eba75b7632b06d60 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@337576 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/ADT/STLExtras.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 {}; -- 2.50.1