Commit f4d920a8 authored by Christian Hergert's avatar Christian Hergert
Browse files

clang: sort completion results

This uses the built in provided language insensitive sort.
parent fc2bbc8f
......@@ -692,6 +692,8 @@ ide_clang_translation_unit_code_complete_worker (GTask *task,
ufs, j,
clang_defaultCodeCompleteOptions ());
clang_sortCodeCompletionResults (results->Results, results->NumResults);
* encapsulate in refptr so we don't need to malloc lots of little strings.
* we will inflate result strings as necessary.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment