[clang] [clang][bytecode][NFC] Remove unused local variable (PR #215713)

Timm Baeder via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 11 21:11:26 PDT 2026


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

None

>From 83f855e9e3ee7a4096ffe14f75b5acb93e48e725 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?= <tbaeder at redhat.com>
Date: Wed, 12 Aug 2026 06:10:37 +0200
Subject: [PATCH] [clang][bytecode][NFC] Remove unused local variable

---
 clang/lib/AST/ByteCode/IntegralAP.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/clang/lib/AST/ByteCode/IntegralAP.h b/clang/lib/AST/ByteCode/IntegralAP.h
index 061038cde7081..a35ab4d77c8fa 100644
--- a/clang/lib/AST/ByteCode/IntegralAP.h
+++ b/clang/lib/AST/ByteCode/IntegralAP.h
@@ -145,7 +145,6 @@ template <bool Signed> class IntegralAP final {
     if (Bits == 0)
       Bits = bitWidth();
 
-    APInt V = getValue();
     if constexpr (Signed)
       return APSInt(getValue().sext(Bits), !Signed);
     else



More information about the cfe-commits mailing list