• Nikolai Kosjar's avatar
    Clang: Fix completion after qualification (::) · 7cbc7af0
    Nikolai Kosjar authored
    ...and maybe other cases.
    
    Since
    
        Clang: fix findStartOfName handling
        commit 82d0650b
    
    the proposal's base position was calculated wrong. As a result, an early
    return triggert in CodeAssistantPrivate::displayProposal (call to
    newProposal->hasItemsToPropose(prefix, reason)) and no completions were
    displayed.
    
    Fix by ensuring that the added code from the mentioned commit is only
    called when needed, namely only for function expressions.
    
    Task-number: QTCREATORBUG-19083
    Change-Id: I8f23c9b7186f9d81159939c8b3ef475a09bbe760
    Reviewed-by: Ivan Donchevskii's avatarIvan Donchevskii <ivan.donchevskii@qt.io>
    Reviewed-by: default avatarDavid Schulz <david.schulz@qt.io>
    7cbc7af0
Name
Last commit
Last update
bin Loading commit data...
dist Loading commit data...
doc Loading commit data...
qbs Loading commit data...
scripts Loading commit data...
share Loading commit data...
src Loading commit data...
tests Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
HACKING Loading commit data...
LICENSE.GPL3-EXCEPT Loading commit data...
README.md Loading commit data...
docs.pri Loading commit data...
qtcreator.pri Loading commit data...
qtcreator.pro Loading commit data...
qtcreator.qbs Loading commit data...
qtcreatordata.pri Loading commit data...