commit | a8a2b298fc8f171f1d89cec67074a038b0bf087c | [log] [tgz] |
---|---|---|
author | Eli Friedman <efriedma@codeaurora.org> | Tue Jul 04 00:52:24 2017 +0000 |
committer | Stephen Hines <srhines@google.com> | Tue Sep 26 23:47:58 2017 -0700 |
tree | b824b0c0ef6ff8eb43df7b76bd4bf3c95601fbde | |
parent | 679c32eaa337b07f8eea11e1b8915849b7803b55 [diff] |
[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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@307051 91177308-0d34-0410-b5e6-96231b3b80d8