]> granicus.if.org Git - clang/commitdiff
Removed a FIXME comment.
authorFariborz Jahanian <fjahanian@apple.com>
Wed, 23 Dec 2009 19:26:34 +0000 (19:26 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Wed, 23 Dec 2009 19:26:34 +0000 (19:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@92028 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Frontend/RewriteObjC.cpp

index 2a3dd7ab03bc8a4eec3f6e4f3c14e6c46577e8ee..fb82af1fa85098d13fcda0ef5614fd7a39d2e9c6 100644 (file)
@@ -4163,9 +4163,8 @@ void RewriteObjC::RewriteBlockCall(CallExpr *Exp) {
 //    };
 //}
 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,