[clang] [analyzer] Show element count in ArrayBound underflow reports (PR #158639)

Balazs Benics via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 16 08:58:07 PDT 2025


=?utf-8?q?Donát?= Nagy <donat.nagy at ericsson.com>,
=?utf-8?q?Donát?= Nagy <donat.nagy at ericsson.com>,
=?utf-8?q?Donát?= Nagy <donat.nagy at ericsson.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/158639 at github.com>


================
@@ -430,30 +419,41 @@ static bool tryDividePair(std::optional<int64_t> &Val1,
   return true;
 }
 
-static Messages getExceedsMsgs(const MemSpaceRegion *Space,
+static Messages getNonTaintMsgs(ASTContext &ACtx, const MemSpaceRegion *Space,
----------------
steakhal wrote:

Can we make ACtx const?

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


More information about the cfe-commits mailing list