diff options
author | Steve Naroff <snaroff@apple.com> | 2008-09-16 23:11:46 +0000 |
---|---|---|
committer | Steve Naroff <snaroff@apple.com> | 2008-09-16 23:11:46 +0000 |
commit | 17dab4f616db7be6800c1f0505f4888d2e8ad7a2 (patch) | |
tree | 96aa81b9cd4efd1dfcbc02ce4e30dd560c06d605 /lib/AST/Expr.cpp | |
parent | c50a4a5f2eac14ac4c631d50b0a55cadc87700ce (diff) |
Remove support for BlockExprExpr. For example...
^(expression) or ^(int arg1, float arg2)(expression)
...is no longer supported.
All block literals now require a compound statement.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56257 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/Expr.cpp')
-rw-r--r-- | lib/AST/Expr.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/AST/Expr.cpp b/lib/AST/Expr.cpp index ca92c815b9..8a545d6f40 100644 --- a/lib/AST/Expr.cpp +++ b/lib/AST/Expr.cpp @@ -1455,12 +1455,6 @@ Stmt::child_iterator BlockStmtExpr::child_end() { return reinterpret_cast<Stmt**>(&Body)+1; } -Stmt::child_iterator BlockExprExpr::child_begin() { - return reinterpret_cast<Stmt**>(&BodyExpr); -} -Stmt::child_iterator BlockExprExpr::child_end() { - return reinterpret_cast<Stmt**>(&BodyExpr)+1; -} Stmt::child_iterator BlockDeclRefExpr::child_begin(){return child_iterator();} Stmt::child_iterator BlockDeclRefExpr::child_end() { return child_iterator();} |