[cfe-commits] r46648 - /cfe/trunk/Driver/RewriteTest.cpp

Steve Naroff snaroff at apple.com
Fri Feb 1 13:51:39 PST 2008


Author: snaroff
Date: Fri Feb  1 15:51:39 2008
New Revision: 46648

URL: http://llvm.org/viewvc/llvm-project?rev=46648&view=rev
Log:

Remove temporary workaround (thanks to Ted for fixing ObjCAtCatchStmt so quickly:-).


Modified:
    cfe/trunk/Driver/RewriteTest.cpp

Modified: cfe/trunk/Driver/RewriteTest.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Driver/RewriteTest.cpp?rev=46648&r1=46647&r2=46648&view=diff

==============================================================================
--- cfe/trunk/Driver/RewriteTest.cpp (original)
+++ cfe/trunk/Driver/RewriteTest.cpp Fri Feb  1 15:51:39 2008
@@ -1250,9 +1250,6 @@
       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...





More information about the cfe-commits mailing list