Skip to content
Commit 5d06366c authored by Igor Kushnir's avatar Igor Kushnir
Browse files

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
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