summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/Expr.cpp
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2008-09-17 18:37:59 +0000
committerSteve Naroff <snaroff@apple.com>2008-09-17 18:37:59 +0000
commit43bafa78b3a141025fdbbd3ce42fdad403ae3d55 (patch)
treed022716225180d3b9efd62acc6ed975a1857fa99 /clang/lib/AST/Expr.cpp
parentf3fcd7a464afc7c640b8c611ac422f7904c3faa7 (diff)
downloadbcm5719-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.cpp4
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;
}
OpenPOWER on IntegriCloud