]> granicus.if.org Git - clang/commit
If the body of for loop is empty, set its body to the continue target.
authorZhongxing Xu <xuzhongxing@gmail.com>
Thu, 20 Aug 2009 02:56:48 +0000 (02:56 +0000)
committerZhongxing Xu <xuzhongxing@gmail.com>
Thu, 20 Aug 2009 02:56:48 +0000 (02:56 +0000)
commit1d4b218fa55239f2a7350f48be14090d2753c22c
tree772e82b97595b41cb3aba95c4e76b8f6de89c5fc
parent7fa0d93a3bbe290244f4f157078d9a0d6e87b44f
If the body of for loop is empty, set its body to the continue target.
Otherwise we get a wrong CFG.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79507 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/CFG.cpp