[clang] [clang][analyzer] Correct SMT Layer for _BitInt cases refutations (PR #143310)

via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 11 03:56:20 PDT 2025


================
@@ -570,23 +572,37 @@ class SMTConv {
   // TODO: Refactor to put elsewhere
   static inline QualType getAPSIntType(ASTContext &Ctx,
                                        const llvm::APSInt &Int) {
-    return Ctx.getIntTypeForBitwidth(Int.getBitWidth(), Int.isSigned());
+    QualType Ty = Ctx.getIntTypeForBitwidth(Int.getBitWidth(), Int.isSigned());
----------------
vabridgers wrote:

I think this has been addressed, resolving.

https://github.com/llvm/llvm-project/pull/143310


More information about the cfe-commits mailing list