]> granicus.if.org Git - clang/commit
Don't remove the break/continue scope of a for loop until after we've
authorDouglas Gregor <dgregor@apple.com>
Fri, 21 May 2010 18:36:48 +0000 (18:36 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 21 May 2010 18:36:48 +0000 (18:36 +0000)
commit45d3fe1898d3726d269a0bd2ccb8527102e29d79
tree56c77e6dd5fadb48770a3205fa4567f31c3ec115
parent74d4031b9a7dbb6204c4f97062d44bd26e21b014
Don't remove the break/continue scope of a for loop until after we've
emitted the increment expression. Fixes PR7189.

If someone knows how to write a useful test for this, I'd be grateful.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104335 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGStmt.cpp