Refactor codeCompletionPriorityToMatchQuality()
* Reduce the number of unsigned=>int conversions to one - from unsigned clang_getCompletionPriority(). * Give constants names. * Rename the function and fix its documentation. * Replace defensive qBound(), which auto-patches-up bugs silently, with precondition and postcondition assertions.
parent
f7693875
Please register or sign in to comment