[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)
commit45ca9b705cb814c4b7ed71cd7d5a64efe5da5d07
treeb9b334c0ec3884ac07ed112910e8574d2dbd6f5d
parentcd3e37050460b4978216d25c126236e481ca9cc9
[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

llvm-svn: 344443
clang/test/Analysis/iterator-range.cpp
clang/test/Analysis/mismatched-iterator.cpp