]> granicus.if.org Git - clang/commit
[Analyzer] Iterator Checker - Part 10: Tests for iterators passed as parameter
authorAdam Balogh <adam.balogh@ericsson.com>
Sat, 13 Oct 2018 10:24:48 +0000 (10:24 +0000)
committerAdam Balogh <adam.balogh@ericsson.com>
Sat, 13 Oct 2018 10:24:48 +0000 (10:24 +0000)
commit5af400bd1faa8973ca9a9c776bc241f2a09b63ea
treee18f3e30f04dbe340c256964367ec736f41643bb
parent0a80d6bb5733baa1a7cea517eea76400d7091a54
[Analyzer] Iterator Checker - Part 10: Tests for iterators passed as parameter

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@344443 91177308-0d34-0410-b5e6-96231b3b80d8
test/Analysis/iterator-range.cpp
test/Analysis/mismatched-iterator.cpp