[cfe-commits] [PATCH] New libclang API, clang_getCursorCompletionString
Douglas Gregor
dgregor at apple.com
Thu Aug 4 13:05:57 PDT 2011
On Aug 1, 2011, at 1:10 PM, Connor Wakamo wrote:
> 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.
Committed as r136911, thanks!
- Doug
More information about the cfe-commits
mailing list