[PATCH] D61134: [Analyzer] Iterator Checkers - Do an early return after handling calls
Balogh, Ádám via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 25 08:44:27 PDT 2019
baloghadamsoftware created this revision.
baloghadamsoftware added reviewers: NoQ, Szelethus.
baloghadamsoftware added a project: clang.
Herald added subscribers: Charusso, gamesh411, donat.nagy, mikhail.ramalho, a.sidorin, rnkovacs, szepet.
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5418 bytes
Desc: not available
More information about the cfe-commits