[llvm] r287474 - Fix buildbot.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Sat Nov 19 17:13:22 PST 2016
Author: ruiu
Date: Sat Nov 19 19:13:22 2016
New Revision: 287474
URL: http://llvm.org/viewvc/llvm-project?rev=287474&view=rev
Log:
Fix buildbot.
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=287474&r1=287473&r2=287474&view=diff
==============================================================================
--- llvm/trunk/lib/Support/SHA1.cpp (original)
+++ llvm/trunk/lib/Support/SHA1.cpp Sat Nov 19 19:13:22 2016
@@ -29,9 +29,9 @@ using namespace llvm;
static uint32_t rol(uint32_t number, int bits) {
return (number << bits) | (number >> (32 - bits));
-};
+}
-#if SHA_BIG_ENDIAN
+#ifdef SHA_BIG_ENDIAN
static uint32_t blk0(uint32_t *Buf, int I) {
Buf[I] = (rol(Buf[I], 24) & 0xFF00FF00) | (rol(Buf[I], 8) & 0x00FF00FF);
return Buf[I];
More information about the llvm-commits
mailing list