diff options
| author | Steve Naroff <snaroff@apple.com> | 2008-09-17 18:37:59 +0000 |
|---|---|---|
| committer | Steve Naroff <snaroff@apple.com> | 2008-09-17 18:37:59 +0000 |
| commit | 43bafa78b3a141025fdbbd3ce42fdad403ae3d55 (patch) | |
| tree | d022716225180d3b9efd62acc6ed975a1857fa99 /clang/lib/AST/Expr.cpp | |
| parent | f3fcd7a464afc7c640b8c611ac422f7904c3faa7 (diff) | |
| download | bcm5719-llvm-43bafa78b3a141025fdbbd3ce42fdad403ae3d55.tar.gz bcm5719-llvm-43bafa78b3a141025fdbbd3ce42fdad403ae3d55.zip | |
Remove BlockStmtExpr.
Block literals are now represented by the concrete BlockExpr class.
This is cleanup (removes a FIXME).
No functionality change.
llvm-svn: 56288
Diffstat (limited to 'clang/lib/AST/Expr.cpp')
| -rw-r--r-- | clang/lib/AST/Expr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/AST/Expr.cpp b/clang/lib/AST/Expr.cpp index 8a545d6f401..8d49c8ef0ed 100644 --- a/clang/lib/AST/Expr.cpp +++ b/clang/lib/AST/Expr.cpp @@ -1448,10 +1448,10 @@ Stmt::child_iterator ObjCMessageExpr::child_end() { } // Blocks -Stmt::child_iterator BlockStmtExpr::child_begin() { +Stmt::child_iterator BlockExpr::child_begin() { return reinterpret_cast<Stmt**>(&Body); } -Stmt::child_iterator BlockStmtExpr::child_end() { +Stmt::child_iterator BlockExpr::child_end() { return reinterpret_cast<Stmt**>(&Body)+1; } |

