[llvm] 52ba075 - Add missing paren

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 11 16:41:46 PST 2023


Author: David Blaikie
Date: 2023-12-12T00:41:40Z
New Revision: 52ba075571958e2fec8d871ddfa1ef56486b86d3

URL: https://github.com/llvm/llvm-project/commit/52ba075571958e2fec8d871ddfa1ef56486b86d3
DIFF: https://github.com/llvm/llvm-project/commit/52ba075571958e2fec8d871ddfa1ef56486b86d3.diff

LOG: Add missing paren

Added: 
    

Modified: 
    llvm/lib/Support/StringMap.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Support/StringMap.cpp b/llvm/lib/Support/StringMap.cpp
index 451108d01d38a..432e1fc343f1f 100644
--- a/llvm/lib/Support/StringMap.cpp
+++ b/llvm/lib/Support/StringMap.cpp
@@ -148,7 +148,7 @@ int StringMapImpl::FindKey(StringRef Key, uint32_t FullHashValue) const {
   if (NumBuckets == 0)
     return -1; // Really empty table?
 #ifdef EXPENSIVE_CHECKS
-  assert(FullHashValue == hash(Key);
+  assert(FullHashValue == hash(Key));
 #endif
   if (shouldReverseIterate())
     FullHashValue = ~FullHashValue;


        


More information about the llvm-commits mailing list