[cfe-commits] [PATCH] New libclang API function, clang_codeCompleteGetObjCSelector

Connor Wakamo cwakamo at apple.com
Fri Jul 22 17:30:40 PDT 2011


I am submitting for review a patch with a new API function for libclang:

CXString clang_codeCompleteGetObjCSelector(CXCodeCompleteResults *)

This function returns a string containing the selector parts that have been typed thus far when code completion is requested for an Objective-C message.  For instance, if you're asking for completions after "[Foo initWithBar:bar object:obj", it'll return "initWithBar:object:".

I've also added some additional output to c-index-test and added a couple of checks in test/Index/complete-objc-message.m for both class and instance messages.

Please let me know what else I need to do with this patch.

Thanks,
Connor Wakamo
cwakamo at apple.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110722/03a1a94d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang_codeCompleteGetObjCSelector.patch
Type: application/octet-stream
Size: 11655 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110722/03a1a94d/attachment.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110722/03a1a94d/attachment-0001.html>


More information about the cfe-commits mailing list