[cfe-commits] r100942 - /cfe/trunk/lib/CodeGen/CGObjC.cpp

Chris Lattner clattner at apple.com
Sat Apr 10 12:14:52 PDT 2010


On Apr 10, 2010, at 12:06 PM, David Chisnall wrote:

> Author: theraven
> Date: Sat Apr 10 14:06:38 2010
> New Revision: 100942
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=100942&view=rev
> Log:
> Fix for PR6811.

David, please revert this.  Per the PR this is not the right fix.

-Chris

> 
> 
> Modified:
>    cfe/trunk/lib/CodeGen/CGObjC.cpp
> 
> Modified: cfe/trunk/lib/CodeGen/CGObjC.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGObjC.cpp?rev=100942&r1=100941&r2=100942&view=diff
> ==============================================================================
> --- cfe/trunk/lib/CodeGen/CGObjC.cpp (original)
> +++ cfe/trunk/lib/CodeGen/CGObjC.cpp Sat Apr 10 14:06:38 2010
> @@ -73,7 +73,7 @@
>     }
> 
>     isClassMessage = true;
> -  } else if (isa<ObjCSuperExpr>(E->getReceiver())) {
> +  } else if (isa<ObjCSuperExpr>(E->getReceiver()->IgnoreParens())) {
>     isSuperMessage = true;
>     Receiver = LoadObjCSelf();
>   } else {
> 
> 
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits





More information about the cfe-commits mailing list