diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-09-26 23:24:14 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-09-26 23:24:14 +0000 |
commit | 9da13f9ddb2567e36f4bbee7b3c32f54aeb76d5b (patch) | |
tree | 0096f7e36fcbb7d048154b528140760cd4366e93 /test/CodeGen/function-attributes.c | |
parent | e7b8d400208e886a167a4481a9024295a3ce17d1 (diff) |
Internally store the body of a BlockExpr using a Stmt* instead of a CompoundStmt*, and use the getBody() method to do the appropriate checking. This both removes the type-punning warnings in Expr.cpp and also makes BlockExpr have more consistency checks against modifications to its body (via StmtIterator).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56710 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/function-attributes.c')
0 files changed, 0 insertions, 0 deletions