[cfe-commits] r100942 - /cfe/trunk/lib/CodeGen/CGObjC.cpp
David Chisnall
csdavec at swan.ac.uk
Sat Apr 10 12:06:39 PDT 2010
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.
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 {
More information about the cfe-commits
mailing list