This sub-matcher makes it possible to access directly the range-based for
loop variable: forRangeStmt(hasLoopVariable(anything()).bind(...)).
I've tried to re-generate the docs, but the diffs seem to include much more than
this change could cause, so I'd better leave docs update to someone who knows
the intended changes in the contents better.
Details
Details
- Reviewers
klimek - Commits
- rL200850: Added the hasLoopVariable sub-matcher for forRangeStmt.
Diff Detail
Diff Detail
s/hasLoopVarStmt/hasLoopVariable/