[PATCH] libclang: Add clang_Cursor_getObjCPropertyGetter/Setter

Matt Stevens matt at alloysoft.com
Thu Jun 12 21:37:55 PDT 2014


Given a cursor representing an Objective-C property declaration these functions enable retrieval of cursors representing its accessor method declarations, which are not otherwise easy to identify when visiting the children of an Objective-C container type.

An additional test print mode is added to c-index-test to avoid including this cross-referencing information in the output of PrintCursor() for all property declarations.

The required minor version bump is excluded from the patch to avoid potential merge conflicts.

Matt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libclang_property_methods.patch
Type: application/octet-stream
Size: 6415 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140612/5fbe8a2d/attachment.obj>


More information about the cfe-commits mailing list