[clang] 38c7230 - [clang][Interp][NFC] Remove unused Boolean::from() overload
Timm Bäder via cfe-commits
cfe-commits at lists.llvm.org
Sat Sep 9 02:08:54 PDT 2023
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>
More information about the cfe-commits
mailing list