summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/DJB.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Support/DJB.cpp')
-rw-r--r--llvm/lib/Support/DJB.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Support/DJB.cpp b/llvm/lib/Support/DJB.cpp
index b97e212aaaa..f06af7dfde4 100644
--- a/llvm/lib/Support/DJB.cpp
+++ b/llvm/lib/Support/DJB.cpp
@@ -58,12 +58,12 @@ static UTF32 foldCharDwarf(UTF32 C) {
}
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;
}
OpenPOWER on IntegriCloud