[llvm] f4b1272 - [ADT] fix typo in code block comment; NFC

Sanjay Patel via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 29 09:10:12 PDT 2021


Author: Sanjay Patel
Date: 2021-04-29T12:09:22-04:00
New Revision: f4b1272d3d2457ca51056794023fe8ae20dd7c54

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

LOG: [ADT] fix typo in code block comment; NFC

Added: 
    

Modified: 
    llvm/include/llvm/ADT/APInt.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/ADT/APInt.h b/llvm/include/llvm/ADT/APInt.h
index 0cd4a0c9fc9f7..7b531bad0d833 100644
--- a/llvm/include/llvm/ADT/APInt.h
+++ b/llvm/include/llvm/ADT/APInt.h
@@ -2181,7 +2181,7 @@ inline const APInt &smax(const APInt &A, const APInt &B) {
   return A.sgt(B) ? A : B;
 }
 
-/// Determine the smaller of two APInts considered to be signed.
+/// Determine the smaller of two APInts considered to be unsigned.
 inline const APInt &umin(const APInt &A, const APInt &B) {
   return A.ult(B) ? A : B;
 }


        


More information about the llvm-commits mailing list