[PATCH] D32904: [Analyzer] Iterator Checker - Part 8: Support for assign, clear, insert, emplace and erase operations
Balogh, Ádám via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri May 5 05:50:08 PDT 2017
baloghadamsoftware created this revision.
This patch adds support for the following operations in the iterator checkers: assign, clear, insert, insert_after, emplace, emplace_after, erase and erase_after. This affects mismatched iterator checks ("this" and parameter must match) and invalidation checks (according to the standard).
https://reviews.llvm.org/D32904
Files:
lib/StaticAnalyzer/Checkers/IteratorChecker.cpp
test/Analysis/Inputs/system-header-simulator-cxx.h
test/Analysis/diagnostics/explicit-suppression.cpp
test/Analysis/invalidated-iterator.cpp
test/Analysis/mismatched-iterator.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32904.97943.patch
Type: text/x-patch
Size: 33033 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170505/9ad18096/attachment-0001.bin>
More information about the cfe-commits
mailing list