[PATCH] D76604: [Analyzer] Model `size()` member function of containers
Balogh, Ádám via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 23 06:31:03 PDT 2020
baloghadamsoftware created this revision.
baloghadamsoftware added reviewers: NoQ, Szelethus, martong.
baloghadamsoftware added a project: clang.
Herald added subscribers: ASDenysPetrov, steakhal, Charusso, gamesh411, dkrupp, donat.nagy, mikhail.ramalho, a.sidorin, rnkovacs, szepet, xazax.hun, whisperity.
baloghadamsoftware added a parent revision: D76590: [Analyzer] Model `empty()` member function of containers.
baloghadamsoftware added a comment.
Supersedes D62724 <https://reviews.llvm.org/D62724>.
After `empty()`, also model `size()` to further improve existing checkers and enable more future checkers for iterators and containers.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D76604
Files:
clang/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp
clang/lib/StaticAnalyzer/Checkers/Iterator.cpp
clang/lib/StaticAnalyzer/Checkers/Iterator.h
clang/test/Analysis/container-modeling.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76604.252002.patch
Type: text/x-patch
Size: 7824 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200323/5f438f53/attachment-0001.bin>
More information about the cfe-commits
mailing list