HomePhabricator

[Sema] Make BreakContinueFinder handle nested loops.

Description

[Sema] Make BreakContinueFinder handle nested loops.

We don't care about break or continue statements that aren't
associated with the current loop, so make sure the visitor
doesn't find them.

Fixes https://bugs.llvm.org/show_bug.cgi?id=32648 .

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

Details

Committed
efriedmaJul 3 2017, 5:52 PM
Differential Revision
D34568: [Sema] Make BreakContinueFinder handle nested loops.
Branches
Unknown
Tags
Unknown