I am submitting for review a patch that adds a new libclang API to return a CXCompletionString for an arbitrary cursor:

CXCompletionString clang_getCursorCompletionString(CXCursor)

The completion strings are not context-sensitive but do provide the same information (such as result types, placeholders, etc.) as those returned by clang_codeCompleteAt.  I've added some output to c-index-test for the -cursor-at option, and have added some tests for this new output to test/Index/get-cursor.cpp and in a new file, test/Index/get-cursor-objc.m.

Please let me know what changes I need to make.

Thanks,
Connor Wakamo

Attachment: clang_getCursorCompletionString.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to