[cfe-commits] r92028 - /cfe/trunk/lib/Frontend/RewriteObjC.cpp

Fariborz Jahanian fjahanian at apple.com
Wed Dec 23 11:26:34 PST 2009


Author: fjahanian
Date: Wed Dec 23 13:26:34 2009
New Revision: 92028

URL: http://llvm.org/viewvc/llvm-project?rev=92028&view=rev
Log:
Removed a FIXME comment.


Modified:
    cfe/trunk/lib/Frontend/RewriteObjC.cpp

Modified: cfe/trunk/lib/Frontend/RewriteObjC.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/RewriteObjC.cpp?rev=92028&r1=92027&r2=92028&view=diff

==============================================================================
--- cfe/trunk/lib/Frontend/RewriteObjC.cpp (original)
+++ cfe/trunk/lib/Frontend/RewriteObjC.cpp Wed Dec 23 13:26:34 2009
@@ -4163,9 +4163,8 @@
 //    };
 //}
 Stmt *RewriteObjC::RewriteBlockDeclRefExpr(BlockDeclRefExpr *BDRE) {
-  // FIXME: Add more elaborate code generation required by the ABI.
-  // That is, must generate BYREFVAR->__forwarding->BYREFVAR for each
-  // BDRE where BYREFVAR is name of the variable.
+  // Rewrite the byref variable into BYREFVAR->__forwarding->BYREFVAR 
+  // for each BDRE where BYREFVAR is name of the variable.
   FieldDecl *FD = FieldDecl::Create(*Context, 0, SourceLocation(),
                                     &Context->Idents.get("__forwarding"), 
                                     Context->VoidPtrTy, 0,





More information about the cfe-commits mailing list