summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/mismatched-iterator.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [Analyzer][NFC] Separate white-box tests for iterator modelling from ↵Adam Balogh2019-11-141-143/+58
| | | | | | | | | | | iterator checker tests The recently committed debug.IteratorDebugging checker enables standalone white-box testing of the modelling of containers and iterators. For the three checkers based on iterator modelling only simple tests are needed. Differential Revision: https://reviews.llvm.org/D70123
* [Analyzer] Skip symbolic regions based on conjured symbols in comparison of ↵Adam Balogh2019-03-131-0/+14
| | | | | | | | | | | | | | | | the containers of iterators Checking whether two regions are the same is a partially decidable problem: either we know for sure that they are the same or we cannot decide. A typical case for this are the symbolic regions based on conjured symbols. Two different conjured symbols are either the same or they are different. Since we cannot decide this and want to reduce false positives as much as possible we exclude these regions whenever checking whether two containers are the same at iterator mismatch check. Differential Revision: https://reviews.llvm.org/D53754 llvm-svn: 356049
* [analyzer] MoveChecker: Enable by default as cplusplus.Move.Artem Dergachev2018-12-171-1/+4
| | | | | | | | | | This checker warns you when you re-use an object after moving it. Mostly developed by Peter Szecsi! Differential Revision: https://reviews.llvm.org/D38675 llvm-svn: 349328
* [Analyzer] Iterator Checker - Part 10: Tests for iterators passed as parameterAdam Balogh2018-10-131-0/+13
| | | | | | | | | | In earlier Clang Static Analyzer versions `check::Bind() was not invoked for parameter passing, so we needed a trick which is not needed anymore. However add the tests to ensure its working. Differential Revision: https::/reviews.llvm.org/D32906 llvm-svn: 344443
* [Analyzer] Commit fix for rL341790/rC341790Adam Balogh2018-09-101-0/+175
Test file was accidentally not added for rL341790/rC341790 and subsequant patches. llvm-svn: 341795
OpenPOWER on IntegriCloud