Commit a0729416 authored by Christian Kamm's avatar Christian Kamm
Browse files

C++ function signature: Improve preserving of default arguments.



Task-number: QTCREATORBUG-5978
Change-Id: Iab0bba3c16b4cd435f0dc6339db49f209f1359d3
Reviewed-by: default avatarLeandro Melo <leandro.melo@nokia.com>
parent abd98ebe
......@@ -100,16 +100,20 @@ public:
QTextCursor nameSelection;
QString nameInitial;
// 1-based line and column
unsigned targetLine;
unsigned targetColumn;
QString targetInitial;
// The 'source' prefix denotes information about the original state
// of the function before the user did any edits.
CPlusPlus::Document::Ptr sourceDocument;
CPlusPlus::Function *sourceFunction;
CPlusPlus::DeclarationAST *sourceDeclaration;
CPlusPlus::FunctionDeclaratorAST *sourceFunctionDeclarator;
// The 'target' prefix denotes information about the remote declaration matching
// the 'source' declaration, where we will try to apply the user changes.
// 1-based line and column
unsigned targetLine;
unsigned targetColumn;
QString targetInitial;
CppTools::CppRefactoringFileConstPtr targetFile;
CPlusPlus::Function *targetFunction;
CPlusPlus::DeclarationAST *targetDeclaration;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment