forked from qt-creator/qt-creator
CppEditor: Fix "move definition" quickfix for template member functions
There are a lot more problems in this area (e.g. with nested classes), but let's tackle them one by one. Fixes: QTCREATORBUG-24801 Change-Id: I4b3805ea6f8b28373925693650150bbd89508096 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -5952,6 +5952,7 @@ QString definitionSignature(const CppQuickFixInterface *assist,
|
||||
oo.showReturnTypes = true;
|
||||
oo.showArgumentNames = true;
|
||||
oo.showEnclosingTemplate = true;
|
||||
oo.showTemplateParameters = true;
|
||||
const Name *name = func->name();
|
||||
if (name && nameIncludesOperatorName(name)) {
|
||||
CoreDeclaratorAST *coreDeclarator = functionDefinitionAST->declarator->core_declarator;
|
||||
|
||||
Reference in New Issue
Block a user