https://bugs.kde.org/show_bug.cgi?id=468605

--- Comment #7 from Igor Kushnir <igor...@gmail.com> ---
When I apply the attached patch, I get the following output while reproducing
the bug:
RESULTS: 1 ; kind: OverloadCandidate
kind: 2 chunk text: "Test"
kind: 10 chunk text: "{"
kind: 3 chunk text: "int a"
kind: 14 chunk text: ", "
kind: 5 chunk text: "float b"
kind: 11 chunk text: "}"

I don't quite understand what's the meaning and purpose of this completion.
Someone will have to investigate this further and maybe experiment/test whether
this completion cursor kind is ever useful. If not, KDevelop could also return
early from ClangCodeCompletionContext() when there is a single completion
result after the tentative arrow and its cursor kind is OverloadCandidate.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to