From: Steve Naroff Date: Fri, 1 Feb 2008 21:51:39 +0000 (+0000) Subject: Remove temporary workaround (thanks to Ted for fixing ObjCAtCatchStmt so quickly:-). X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5fd69c3205db27e23e61accb420bb36f66e23fc2;p=clang 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 --- 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...