ΒΆunsigned int clang_getCompletionPriority(
CXCompletionString completion_string)
unsigned int clang_getCompletionPriority(
CXCompletionString completion_string)
Description
Determine the priority of this code completion. The priority of a code completion indicates how likely it is that this particular completion is the completion that the user will select. The priority is selected by various internal heuristics.
Declared at: clang/include/clang-c/Index.h:5466
Parameters
- CXCompletionString completion_string
- The completion string to query.
Returns
The priority of this completion string. Smaller values indicate higher-priority (more likely) completions.