HomePhabricator

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

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

Details

Committed
baloghadamsoftwareApr 26 2019, 12:30 AM
Differential Revision
D61134: [Analyzer] Iterator Checkers - Do an early return after handling calls
Branches
Unknown
Tags
Unknown