[DJB] Fix variable case after D61178
llvm-svn: 359381
diff --git a/llvm/lib/Support/DJB.cpp b/llvm/lib/Support/DJB.cpp
index b97e212..f06af7d 100644
--- a/llvm/lib/Support/DJB.cpp
+++ b/llvm/lib/Support/DJB.cpp
@@ -58,12 +58,12 @@
}
static Optional<uint32_t> fastCaseFoldingDjbHash(StringRef Buffer, uint32_t H) {
- bool allASCII = true;
+ bool AllASCII = true;
for (unsigned char C : Buffer) {
H = H * 33 + ('A' <= C && C <= 'Z' ? C - 'A' + 'a' : C);
- allASCII &= C <= 0x7f;
+ AllASCII &= C <= 0x7f;
}
- if (allASCII)
+ if (AllASCII)
return H;
return None;
}