summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/StringRef.cpp
diff options
context:
space:
mode:
authorManman Ren <mren@apple.com>2013-07-08 20:27:34 +0000
committerManman Ren <mren@apple.com>2013-07-08 20:27:34 +0000
commit9c5e998043f2f36a7a71e1333de7832cff6ff71a (patch)
tree40a22ae91013c4a59e9b6b535a9b089a4a13cf4e /llvm/lib/Support/StringRef.cpp
parentfe56cc67c5e57521272ecef3beb360eed81ae402 (diff)
downloadbcm5719-llvm-9c5e998043f2f36a7a71e1333de7832cff6ff71a.tar.gz
bcm5719-llvm-9c5e998043f2f36a7a71e1333de7832cff6ff71a.zip
Revert r185852.
llvm-svn: 185861
Diffstat (limited to 'llvm/lib/Support/StringRef.cpp')
-rw-r--r--llvm/lib/Support/StringRef.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/Support/StringRef.cpp b/llvm/lib/Support/StringRef.cpp
index c0f366cb3e5..d7a0bfa4100 100644
--- a/llvm/lib/Support/StringRef.cpp
+++ b/llvm/lib/Support/StringRef.cpp
@@ -11,7 +11,6 @@
#include "llvm/ADT/APInt.h"
#include "llvm/ADT/Hashing.h"
#include "llvm/ADT/OwningPtr.h"
-#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/edit_distance.h"
#include <bitset>
@@ -466,7 +465,3 @@ bool StringRef::getAsInteger(unsigned Radix, APInt &Result) const {
hash_code llvm::hash_value(StringRef S) {
return hash_combine_range(S.begin(), S.end());
}
-
-unsigned DenseMapInfo<StringRef>::getHashValue(StringRef const val) {
- return llvm::HashString(val);
-}
OpenPOWER on IntegriCloud