summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/SHA1.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2016-11-23 03:58:12 +0000
committerRui Ueyama <ruiu@google.com>2016-11-23 03:58:12 +0000
commitc464fadc64789b45bebe93bdffbcb6e34701a232 (patch)
tree54453f3b9cafd171091ac32e0cb3d7c010f01233 /llvm/lib/Support/SHA1.cpp
parent06995e866be7d9f20ccf1522ed1006b7f19eb146 (diff)
downloadbcm5719-llvm-c464fadc64789b45bebe93bdffbcb6e34701a232.tar.gz
bcm5719-llvm-c464fadc64789b45bebe93bdffbcb6e34701a232.zip
Fix builbots.
llvm-svn: 287735
Diffstat (limited to 'llvm/lib/Support/SHA1.cpp')
-rw-r--r--llvm/lib/Support/SHA1.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/SHA1.cpp b/llvm/lib/Support/SHA1.cpp
index 016f580ae6d..0eefd998cd7 100644
--- a/llvm/lib/Support/SHA1.cpp
+++ b/llvm/lib/Support/SHA1.cpp
@@ -273,7 +273,7 @@ StringRef SHA1::result() {
std::array<uint8_t, 20> SHA1::hash(ArrayRef<uint8_t> Data) {
SHA1 Hash;
Hash.update(Data);
- StringRef S = Hash.final().data();
+ StringRef S = Hash.final();
std::array<uint8_t, 20> Arr;
memcpy(Arr.data(), S.data(), S.size());
OpenPOWER on IntegriCloud