diff options
Diffstat (limited to 'include/clang-c/Index.h')
-rw-r--r-- | include/clang-c/Index.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/clang-c/Index.h b/include/clang-c/Index.h index 9b80d9f3a5..9abaa516a0 100644 --- a/include/clang-c/Index.h +++ b/include/clang-c/Index.h @@ -2350,6 +2350,17 @@ CXCodeCompleteResults *clang_codeCompleteAt(CXTranslationUnit TU, unsigned options); /** + * \brief Sort the code-completion results in case-insensitive alphabetical + * order. + * + * \param Results The set of results to sort. + * \param NumResults The number of results in \p Results. + */ +CINDEX_LINKAGE +void clang_sortCodeCompletionResults(CXCompletionResult *Results, + unsigned NumResults); + +/** * \brief Free the given set of code-completion results. */ CINDEX_LINKAGE |