summaryrefslogtreecommitdiff
path: root/unittests/ADT
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2014-04-12 16:15:53 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2014-04-12 16:15:53 +0000
commit15c435a367a80c53c00041e09d997bee4a677e5b (patch)
treee8d3a3b022a3df02b47c12fca4a7d264143c6c7f /unittests/ADT
parent479151ab7f8a833569701cbd883a4465eeaad33a (diff)
downloadllvm-15c435a367a80c53c00041e09d997bee4a677e5b.tar.gz
llvm-15c435a367a80c53c00041e09d997bee4a677e5b.tar.bz2
llvm-15c435a367a80c53c00041e09d997bee4a677e5b.tar.xz
Retire llvm::array_endof in favor of non-member std::end.
While there make array_lengthof constexpr if we have support for it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206112 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/ADT')
-rw-r--r--unittests/ADT/StringRefTest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/unittests/ADT/StringRefTest.cpp b/unittests/ADT/StringRefTest.cpp
index c7fd9d0f15..d80179bd78 100644
--- a/unittests/ADT/StringRefTest.cpp
+++ b/unittests/ADT/StringRefTest.cpp
@@ -9,6 +9,7 @@
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/Hashing.h"
+#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Support/Allocator.h"