[PATCH] D104285: [analyzer][AST] Retrieve value by direct index from list initialization of constant array declaration.
Denys Petrov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 26 09:15:37 PDT 2021
ASDenysPetrov updated this revision to Diff 368905.
ASDenysPetrov edited the summary of this revision.
ASDenysPetrov added a comment.
Reworked the patch according to the discussion and taking UB into account. Moved `Expr::getExprForConstArrayByRawIndex` to `RegionStoreManager`.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D104285/new/
https://reviews.llvm.org/D104285
Files:
clang/include/clang/AST/Type.h
clang/lib/AST/Type.cpp
clang/lib/StaticAnalyzer/Core/RegionStore.cpp
clang/test/Analysis/initialization.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104285.368905.patch
Type: text/x-patch
Size: 13460 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210826/8c199920/attachment-0001.bin>
More information about the cfe-commits
mailing list