[llvm] [llvm] Improve implementation of StringRef::find_last_of and cie (PR #71865)
    Alexandre Ganea via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Nov 15 14:53:51 PST 2023
    
    
  
================
@@ -623,8 +657,7 @@ hash_code llvm::hash_value(StringRef S) {
 }
 
 unsigned DenseMapInfo<StringRef, void>::getHashValue(StringRef Val) {
-  assert(Val.data() != getEmptyKey().data() &&
-         "Cannot hash the empty key!");
+  assert(Val.data() != getEmptyKey().data() && "Cannot hash the empty key!");
----------------
aganea wrote:
Can you please commit all these NFC formatting changes separately?
https://github.com/llvm/llvm-project/pull/71865
    
    
More information about the llvm-commits
mailing list