From: Zachary Turner Date: Fri, 20 Jul 2018 16:51:55 +0000 (+0000) Subject: Change bool_constant to integral_constant. X-Git-Tag: llvmorg-7.0.0-rc1~961 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=862439c7cb77c662314371f1d1b298d69264a9a9;p=platform%2Fupstream%2Fllvm.git Change bool_constant to integral_constant. bool_constant is C++17. llvm-svn: 337576 --- 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 {};