Author: Timm Bäder
Date: 2023-09-09T11:07:55+02:00
New Revision: 38c723064530fa3b2e6960e601b6905529b4a32e

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

LOG: [clang][Interp][NFC] Remove unused Boolean::from() overload

Added: 
    

Modified: 
    clang/lib/AST/Interp/Boolean.h

Removed: 
    


################################################################################
diff  --git a/clang/lib/AST/Interp/Boolean.h b/clang/lib/AST/Interp/Boolean.h
index 579842ce46aa04e..6f0fe26ace68807 100644
--- a/clang/lib/AST/Interp/Boolean.h
+++ b/clang/lib/AST/Interp/Boolean.h
@@ -100,11 +100,6 @@ class Boolean final {
     return Boolean(!Value.isZero());
   }
 
-  template <bool SrcSign>
-  static Boolean from(Integral<0, SrcSign> Value) {
-    return Boolean(!Value.isZero());
-  }
-
   static Boolean zero() { return from(false); }
 
   template <typename T>


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to