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 | 8bafa2cf9f2404cf5efd29a1420dc17d2113d853 (patch) | |
tree | 2bc5841ed4bf0e8612e8c322ef1deb002c5538f9 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 2e53c5191448232982dd1e803a712aeb4e0e33ad (diff) | |
download | bcm5719-llvm-8bafa2cf9f2404cf5efd29a1420dc17d2113d853.tar.gz bcm5719-llvm-8bafa2cf9f2404cf5efd29a1420dc17d2113d853.zip |
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).
llvm-svn: 56710
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions