[llvm] e6f23b3 - Remove names for unused parameters; NFC

Aaron Ballman via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 17 06:45:32 PDT 2025


Author: Aaron Ballman
Date: 2025-04-17T09:45:23-04:00
New Revision: e6f23b383e0c08ecc380d879035e594019f34211

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

LOG: Remove names for unused parameters; NFC

Fixes #21393

Added: 
    

Modified: 
    llvm/include/llvm/Support/ErrorOr.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/Support/ErrorOr.h b/llvm/include/llvm/Support/ErrorOr.h
index 1daac9a436c91..4afe56690ca07 100644
--- a/llvm/include/llvm/Support/ErrorOr.h
+++ b/llvm/include/llvm/Support/ErrorOr.h
@@ -185,7 +185,7 @@ class ErrorOr {
   }
 
   template <class T1, class T2>
-  static bool compareThisIfSameType(const T1 &a, const T2 &b) {
+  static bool compareThisIfSameType(const T1 &, const T2 &) {
     return false;
   }
 


        


More information about the llvm-commits mailing list