HomePhabricator

[analyzer] LoopUnrolling: update the matched assignment operators

Authored by szepet on Mar 27 2018, 5:16 AM.

Description

[analyzer] LoopUnrolling: update the matched assignment operators

Extended the matched assignment operators when checking for bound changes in a body of the loop by using the freshly added isAssignmentOperator matcher.
This covers all the (current) possible assignments, tests added as well.

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

llvm-svn: 328619

Details