llvmorg-github-actions[bot] wrote:

<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: Timm Baeder (tbaederr)

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/219867.diff


1 Files Affected:

- (modified) clang/lib/AST/ByteCode/Boolean.h (-6) 


``````````diff
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;

``````````

</details>


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

Reply via email to