[clang] [analyzer] Improve reports from ArrayBoundCheckerV2 (PR #70056)

via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 27 10:46:43 PDT 2023


=?utf-8?q?DonĂ¡t?= Nagy <donat.nagy at ericsson.com>
Message-ID:
In-Reply-To: <llvm/llvm-project/pull/70056/clang at github.com>


DonatNagyE wrote:

Note that this PR introduces a `PathSensitiveBugReport` where the `Description` and `ShortDescription` fields (inherited from `BugReport`) are different (because I'm using the four-argument constructor). These fields are intended for different purposes, but practically every checker stores the same string in both of them.

To clarify this situation, I opened a [discussion on discourse](https://discourse.llvm.org/t/bug-report-warning-message-duplicated-as-a-note-by-most-checkers/74480).

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


More information about the cfe-commits mailing list