[llvm] r287735 - Fix builbots.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 22 19:58:12 PST 2016
Author: ruiu
Date: Tue Nov 22 21:58:12 2016
New Revision: 287735
URL: http://llvm.org/viewvc/llvm-project?rev=287735&view=rev
Log:
Fix builbots.
Modified:
llvm/trunk/lib/Support/SHA1.cpp
Modified: llvm/trunk/lib/Support/SHA1.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/SHA1.cpp?rev=287735&r1=287734&r2=287735&view=diff
==============================================================================
--- llvm/trunk/lib/Support/SHA1.cpp (original)
+++ llvm/trunk/lib/Support/SHA1.cpp Tue Nov 22 21:58:12 2016
@@ -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());
More information about the llvm-commits
mailing list