[cfe-dev] Lack of API 2

Argyrios Kyrtzidis akyrtzi at gmail.com
Thu Jun 27 11:56:33 PDT 2013


A function could be added to query the optional/required state of the property.

Please either file an enhancement request in bugzilla, or even better, see if you can provide a patch for reviewing.

On Jun 19, 2013, at 7:52 AM, Muhammad Hussein Nasrollahpour <iapplechocolate at me.com> wrote:

> There is no API for accessing optional/required properties. The only thing it offers is   CXCursor_ObjCPropertyDecl. But in Protocol we can have both optional/required properties. So there is still lack of API.
> 
> @protocol protocol1 <NSObject>
> @optional
> @property (readonly) NSString *string1;
> 
> @required
> @property (readonly) NSString *string2;
> @end
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130627/8f9020bf/attachment.html>


More information about the cfe-dev mailing list