diff options
author | John McCall <rjmccall@apple.com> | 2011-01-07 01:49:06 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2011-01-07 01:49:06 +0000 |
commit | d88687fc8b3b6e0bce1f7cb83d347ef009ab5480 (patch) | |
tree | 302175c92e1e927bf841227cf451b68aab598ae4 /lib/CodeGen/ModuleBuilder.cpp | |
parent | b466d01e464b21832c23eeed90112bc5c26c0236 (diff) |
Rework a few things about how we emit ObjC's for enumeration statement.
In particular, the iteration variable (if present) should be created and
destroyed in a narrow span around the loop body, and the body should
be emitted in a cleanup scope in case it's not a compound statement.
Otherwise, rename a few variables and use phis instead of temporary
variables for the index and buffer count.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122988 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions