On Dec 17, 2008, at 1:35 PM, steve naroff wrote:
On Dec 17, 2008, at 1:25 PM, Fariborz Jahanian wrote:
=
=====================================================================
--- cfe/trunk/lib/AST/DeclObjC.cpp (original)
+++ cfe/trunk/lib/AST/DeclObjC.cpp Wed Dec 17 12:25:24 2008
@@ -369,6 +369,9 @@
///
FieldDecl *ObjCInterfaceDecl::lookupFieldDeclForIvar(ASTContext
&Context,
const
ObjCIvarDecl *ivar) {
+ /* When a super class's ivar is referenced in the subclass method
with no ivar
+ of its own, record for the sub-class is not built yet. Build
it lazily
+ here. */
No rush on this (since the patch/comment will work fine for now). I
just wanted to make sure we revisit this...
Putting "FIXME" into the comment would make sure that we won't forget
this...
- Doug
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits