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/Basic/SourceManager.cpp | |
| parent | 2e53c5191448232982dd1e803a712aeb4e0e33ad (diff) | |
| download | llvm-8bafa2cf9f2404cf5efd29a1420dc17d2113d853.zip llvm-8bafa2cf9f2404cf5efd29a1420dc17d2113d853.tar.gz llvm-8bafa2cf9f2404cf5efd29a1420dc17d2113d853.tar.bz2 | |
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/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions
