[PATCH] D104285: [analyzer] Retrieve value by direct index from list initialization of constant array declaration.
Chris Hamilton via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 16 16:03:17 PDT 2021
chrish_ericsson_atx added a comment.
I'm not sure about whether or not this patch would only work for constant arrays with initializer lists. If it does only work for such arrays, then I wonder whether the fix is broad enough -- I haven't tested (yet), but I think the presence of the initializer list in the test case is not necessary to trigger the spurious warnings about garbage/undefined values. I'll try it tomorrow morning...
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D104285/new/
https://reviews.llvm.org/D104285
More information about the cfe-commits
mailing list