This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy] Prepare modernize-loop-convert for upcoming changes in D22566
ClosedPublic

Authored by mboehme on Jul 27 2016, 11:28 PM.

Details

Summary

D22566 will change RecursiveASTVisitor so that it descends into the initialization expressions for lambda captures.

modernize-loop-convert needs to be prepared for this so that it does not interpret these initialization expressions as invalid uses of the loop variable. The change has no ill effects without D22566 in place, i.e. the change does not depend on D22566.

Diff Detail

Event Timeline

mboehme updated this revision to Diff 65877.Jul 27 2016, 11:28 PM
mboehme retitled this revision from to [clang-tidy] Prepare modernize-loop-convert for upcoming changes in D22566.
mboehme updated this object.
mboehme added a reviewer: klimek.
mboehme added a subscriber: cfe-commits.
klimek accepted this revision.Aug 1 2016, 3:19 AM
klimek edited edge metadata.

lg

This revision is now accepted and ready to land.Aug 1 2016, 3:19 AM
This revision was automatically updated to reflect the committed changes.