[cfe-commits] r49699 - in /cfe/trunk: Driver/ASTConsumers.cpp include/clang/AST/DeclObjC.h include/clang/Parse/Action.h include/clang/Parse/Parser.h lib/AST/DeclObjC.cpp lib/Parse/ParseObjc.cpp lib/Sema/Sema.h lib/Sema/SemaDeclObjC.cpp
fjahanian at apple.com
Tue Apr 15 17:07:43 PDT 2008
On Apr 15, 2008, at 4:58 PM, Devang Patel wrote:
> On Apr 15, 2008, at 4:48 PM, Fariborz Jahanian wrote:
>>> Also, given the new approach, should ObjCPropertyDecl inherit from
>>> FieldDecl, what do you think?
>> Think of a property declaration as macro for declaring setters and
>> getters. It really has nothing to do with fields.
> Is it possible to use properties for decls that are not FieldDecl ?
Properties are for setter and getter usage. The fact that they use an
ivar is implementation details. In fact, a @dynamic property leaves
the implementation to the user as he/she wishes.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-commits