forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/4.13' into master
Conflicts: src/plugins/languageclient/languageclientcompletionassist.cpp Change-Id: If12e1c532e5623ef063681309a918e7b51117b1c
This commit is contained in:
@@ -356,7 +356,7 @@ Link attemptDeclDef(const QTextCursor &cursor, Snapshot snapshot,
|
||||
funcDecl = decl->postfix_declarator_list->value->asFunctionDeclarator();
|
||||
if (funcDecl)
|
||||
target = symbolFinder->findMatchingDefinition(funcDecl->symbol, snapshot);
|
||||
else
|
||||
else if (simpleDecl->symbols)
|
||||
target = symbolFinder->findMatchingVarDefinition(simpleDecl->symbols->value, snapshot);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user