aboutsummaryrefslogtreecommitdiff
path: root/Driver/RewriteTest.cpp
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2008-02-01 21:51:39 +0000
committerSteve Naroff <snaroff@apple.com>2008-02-01 21:51:39 +0000
commit5fd69c3205db27e23e61accb420bb36f66e23fc2 (patch)
tree9ccc7c12d487576676602105d44f314f03191d0e /Driver/RewriteTest.cpp
parentff981021554a4965943ca2d19019cea811614602 (diff)
Remove temporary workaround (thanks to Ted for fixing ObjCAtCatchStmt so quickly:-).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46648 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Driver/RewriteTest.cpp')
-rw-r--r--Driver/RewriteTest.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/Driver/RewriteTest.cpp b/Driver/RewriteTest.cpp
index 52775a25b5..4096dae3ab 100644
--- a/Driver/RewriteTest.cpp
+++ b/Driver/RewriteTest.cpp
@@ -1250,9 +1250,6 @@ Stmt *RewriteTest::RewriteObjCTryStmt(ObjCAtTryStmt *S) {
assert(false && "@catch rewrite bug");
}
// make sure all the catch bodies get rewritten!
- // FIXME: this call should be removed when the iterator for ObjCAtTryStmt
- // is fixed. Currently, it only returns the first catch statement!
- RewriteFunctionBodyOrGlobalInitializer(lastCatchBody);
catchList = catchList->getNextCatchStmt();
}
// Complete the catch list...