ΒΆCXString clang_codeCompleteGetObjCSelector(
    CXCodeCompleteResults* Results)

Description

Returns the currently-entered selector for an Objective-C message send, formatted like "initWithFoo:bar:". Only guaranteed to return a non-empty string for CXCompletionContext_ObjCInstanceMessage and CXCompletionContext_ObjCClassMessage.

Declared at: clang/include/clang-c/Index.h:5979

Parameters

CXCodeCompleteResults* Results
the code completion results to query

Returns

the selector (or partial selector) that has been entered thus far for an Objective-C message send.