forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/2.5'
Conflicts: doc/templates/style/style.css qtcreator.pri Change-Id: I5f4f5f191726883dae18cb760733a5e8e6bd4e7d
This commit is contained in:
@@ -197,6 +197,7 @@ static QSharedPointer<FunctionDeclDefLink> findLinkHelper(QSharedPointer<Functio
|
||||
// the parens are necessary for finding good places for changes
|
||||
if (!targetFuncDecl->lparen_token || !targetFuncDecl->rparen_token)
|
||||
return noResult;
|
||||
QTC_ASSERT(targetFuncDecl->symbol, return noResult);
|
||||
// if the source and target argument counts differ, something is wrong
|
||||
QTC_ASSERT(targetFuncDecl->symbol->argumentCount() == link->sourceFunction->argumentCount(), return noResult);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user