ΒΆunsigned int clang_getCompletionNumFixIts(
    CXCodeCompleteResults* results,
    unsigned int completion_index)

Description

Retrieve the number of fix-its for the given completion index. Calling this makes sense only if CXCodeComplete_IncludeCompletionsWithFixIts option was set.

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

Parameters

CXCodeCompleteResults* results
The structure keeping all completion results
unsigned int completion_index
The index of the completion

Returns

The number of fix-its which must be applied before the completion at completion_index can be applied