]> granicus.if.org Git - clang/commitdiff
Remove temporary workaround (thanks to Ted for fixing ObjCAtCatchStmt so quickly:-).
authorSteve Naroff <snaroff@apple.com>
Fri, 1 Feb 2008 21:51:39 +0000 (21:51 +0000)
committerSteve Naroff <snaroff@apple.com>
Fri, 1 Feb 2008 21:51:39 +0000 (21:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46648 91177308-0d34-0410-b5e6-96231b3b80d8

Driver/RewriteTest.cpp

index 52775a25b5f7df2ae3ce305ac2e62e06747f9c16..4096dae3ab1643aba6c5e29ebc571fa724b1b4c5 100644 (file)
@@ -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...