summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm/ADT/STLExtras.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/include/llvm/ADT/STLExtras.h')
-rw-r--r--llvm/include/llvm/ADT/STLExtras.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/ADT/STLExtras.h b/llvm/include/llvm/ADT/STLExtras.h
index 81257da44b3..6a2c8f64173 100644
--- a/llvm/include/llvm/ADT/STLExtras.h
+++ b/llvm/include/llvm/ADT/STLExtras.h
@@ -456,7 +456,7 @@ struct less_second {
template <class T, T... I> struct integer_sequence {
typedef T value_type;
- static LLVM_CONSTEXPR size_t size() { return sizeof...(I); }
+ static constexpr size_t size() { return sizeof...(I); }
};
/// \brief Alias for the common case of a sequence of size_ts.
@@ -483,7 +483,7 @@ template <> struct rank<0> {};
/// Find the length of an array.
template <class T, std::size_t N>
-LLVM_CONSTEXPR inline size_t array_lengthof(T (&)[N]) {
+constexpr inline size_t array_lengthof(T (&)[N]) {
return N;
}
OpenPOWER on IntegriCloud