[PATCH] D77125: [Analyzer] Model return values of container insert and delete operations
Balogh, Ádám via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 31 02:42:55 PDT 2020
baloghadamsoftware created this revision.
baloghadamsoftware added reviewers: NoQ, Szelethus.
baloghadamsoftware added a project: clang.
Herald added subscribers: ASDenysPetrov, martong, steakhal, Charusso, gamesh411, dkrupp, donat.nagy, mikhail.ramalho, a.sidorin, rnkovacs, szepet, xazax.hun, whisperity.
Insert and delete operations of `insert()`, `erase()` (plus `insert_after()` and `erase_after()` for `std::forward_list`-like containers were not modeled yet. This patch fixes this issue.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D77125
Files:
clang/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp
clang/test/Analysis/Inputs/system-header-simulator-cxx.h
clang/test/Analysis/diagnostics/explicit-suppression.cpp
clang/test/Analysis/iterator-modeling.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77125.253815.patch
Type: text/x-patch
Size: 42900 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200331/3125e03c/attachment-0001.bin>
More information about the cfe-commits
mailing list