[clang] [analyzer] Switch to PostStmt callbacks in ArrayBoundV2 (PR #72107)

Gábor Horváth via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 28 12:03:54 PST 2023


Xazax-hun wrote:

I think another question is whether warning on code like `int& val = arr[i]` where `val` is not actually used on the path where `i == size` is OK. I would not block this PR on a case like this, but it might be nice to add a test and potentially a comment about the desired behavior.

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


More information about the cfe-commits mailing list