summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/StmtPrinter.cpp
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2008-09-16 23:11:46 +0000
committerSteve Naroff <snaroff@apple.com>2008-09-16 23:11:46 +0000
commit7a147c6a3ce30ecb26f8dfbd98c5c420cd5cfc96 (patch)
treed3770d38f8edf0a7d2d9a3cc61c275eead98a0cf /clang/lib/AST/StmtPrinter.cpp
parent3fccede02a53dce6278f5adabfffac8e74260115 (diff)
downloadbcm5719-llvm-7a147c6a3ce30ecb26f8dfbd98c5c420cd5cfc96.tar.gz
bcm5719-llvm-7a147c6a3ce30ecb26f8dfbd98c5c420cd5cfc96.zip
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. llvm-svn: 56257
Diffstat (limited to 'clang/lib/AST/StmtPrinter.cpp')
-rw-r--r--clang/lib/AST/StmtPrinter.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/clang/lib/AST/StmtPrinter.cpp b/clang/lib/AST/StmtPrinter.cpp
index 566ab717ea2..fbff987b07d 100644
--- a/clang/lib/AST/StmtPrinter.cpp
+++ b/clang/lib/AST/StmtPrinter.cpp
@@ -912,11 +912,6 @@ void StmtPrinter::VisitBlockStmtExpr(BlockStmtExpr *Node) {
PrintRawCompoundStmt(Node->getBody());
}
-void StmtPrinter::VisitBlockExprExpr(BlockExprExpr *Node) {
- VisitBlockExpr(Node);
- PrintExpr(Node->getExpr());
-}
-
void StmtPrinter::VisitBlockDeclRefExpr(BlockDeclRefExpr *Node) {
OS << Node->getDecl()->getName();
}
OpenPOWER on IntegriCloud