]> granicus.if.org Git - clang/commit
[Analyzer] Iterator Checker - Part 6: Mismatched iterator checker for constructors...
authorAdam Balogh <adam.balogh@ericsson.com>
Mon, 10 Sep 2018 09:05:31 +0000 (09:05 +0000)
committerAdam Balogh <adam.balogh@ericsson.com>
Mon, 10 Sep 2018 09:05:31 +0000 (09:05 +0000)
commite171ae48585105d35b89c09fe5d951cf3e877b3f
tree4095877d026243fd46dd3746c36b9a7eb2061154
parent90174d38156d99f85ce0ea8d29b41e98a75b4c22
[Analyzer] Iterator Checker - Part 6: Mismatched iterator checker for constructors and comparisons

Extension of the mismatched iterator checker for constructors taking range of first..last (first and last must be iterators of the same container) and also for comparisons of iterators of different containers (one does not compare iterators of different containers, since the set of iterators is partially ordered, there are no relations between iterators of different containers, except that they are always non-equal).

Differential Revision: https://reviews.llvm.org/D32860

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@341792 91177308-0d34-0410-b5e6-96231b3b80d8
lib/StaticAnalyzer/Checkers/IteratorChecker.cpp