]> granicus.if.org Git - clang/commit
[CFG] Set the “loop target” (back edge) for VisitObjCForCollectionStmt loops
authorAnna Zaks <ganna@apple.com>
Sat, 22 Jun 2013 00:23:20 +0000 (00:23 +0000)
committerAnna Zaks <ganna@apple.com>
Sat, 22 Jun 2013 00:23:20 +0000 (00:23 +0000)
commit4c98b1f67cdf385e05a86d54201b319cf1f1c042
treecf079bbaed0241397386487caf5ab24d7c932d36
parent0538f0e9200df56974b5a71bc276dbce456e9781
[CFG] Set the “loop target” (back edge) for VisitObjCForCollectionStmt loops

Add the back edge info by creating a basic block, marked as loop target. This is
consistent with how other loops are processed, but was omitted from
VisitObjCForCollectionStmt.

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