commit | 9da13f9ddb2567e36f4bbee7b3c32f54aeb76d5b | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Fri Sep 26 23:24:14 2008 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Fri Sep 26 23:24:14 2008 +0000 |
tree | 0096f7e36fcbb7d048154b528140760cd4366e93 | |
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