[clang] [clang][bytecode][NFC] Remove unused local variable (PR #215713)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 11 21:12:19 PDT 2026
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/215713.diff
1 Files Affected:
- (modified) clang/lib/AST/ByteCode/IntegralAP.h (-1)
``````````diff
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
``````````
</details>
https://github.com/llvm/llvm-project/pull/215713
More information about the cfe-commits
mailing list