https://github.com/tbaederr created 
https://github.com/llvm/llvm-project/pull/219867

None

>From f3ea8101e83b7f34dd0f0dae43adba9669390440 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?= <[email protected]>
Date: Sun, 30 Aug 2026 19:28:01 +0200
Subject: [PATCH] [clang][bytecode] Remove unused Boolean API

---
 clang/lib/AST/ByteCode/Boolean.h | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/clang/lib/AST/ByteCode/Boolean.h b/clang/lib/AST/ByteCode/Boolean.h
index dfc6d4916e040..39510ae94b35f 100644
--- a/clang/lib/AST/ByteCode/Boolean.h
+++ b/clang/lib/AST/ByteCode/Boolean.h
@@ -52,8 +52,6 @@ class Boolean final {
   }
   APValue toAPValue(const ASTContext &) const { return APValue(toAPSInt()); }
 
-  Boolean toUnsigned() const { return *this; }
-
   constexpr static unsigned bitWidth() { return 1; }
   bool isZero() const { return !V; }
   bool isMin() const { return isZero(); }
@@ -111,10 +109,6 @@ class Boolean final {
     return Boolean(Value);
   }
 
-  static bool inRange(int64_t Value, unsigned NumBits) {
-    return Value == 0 || Value == 1;
-  }
-
   static bool increment(Boolean A, Boolean *R) {
     *R = Boolean(true);
     return false;

_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to