HomePhabricator

[Analyzer] Iterator Checkers - Do an early return after handling calls

Authored by baloghadamsoftware on Apr 26 2019, 12:30 AM.

Description

[Analyzer] Iterator Checkers - Do an early return after handling calls

This patch is more of a fix than a real improvement: in checkPostCall()
we should return immediately after finding the right call and handling
it. This both saves unnecessary processing and double-handling calls by
mistake.

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

llvm-svn: 359283