aboutsummaryrefslogtreecommitdiff
path: root/Driver/RewriteObjC.cpp
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2008-12-10 14:53:27 +0000
committerSteve Naroff <snaroff@apple.com>2008-12-10 14:53:27 +0000
commite58ee0ca7cfad6ee75a088e7a6a090526e18da50 (patch)
tree651d9bde24394119fc8b79ad650ccf81746d9316 /Driver/RewriteObjC.cpp
parent8935b8b49053122ddd3ab4cd59af0fe5eb9c23cf (diff)
Fix regression caused by fixing <rdar://problem/6429113> clang ObjC rewriter: crash rewriting file with Blocks and properties
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60839 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Driver/RewriteObjC.cpp')
-rw-r--r--Driver/RewriteObjC.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Driver/RewriteObjC.cpp b/Driver/RewriteObjC.cpp
index 6d67233719..1b7ce5bece 100644
--- a/Driver/RewriteObjC.cpp
+++ b/Driver/RewriteObjC.cpp
@@ -1077,7 +1077,7 @@ Stmt *RewriteObjC::RewritePropertySetter(BinaryOperator *BinOp, Expr *newStmt,
// Now do the actual rewrite.
ReplaceStmtWithRange(BinOp, ReplacingStmt, SrcRange);
- delete BinOp;
+ //delete BinOp;
delete MsgExpr;
return ReplacingStmt;
}