forked from qt-creator/qt-creator
C++ function signature: Improve preserving of default arguments.
Task-number: QTCREATORBUG-5978 Change-Id: Iab0bba3c16b4cd435f0dc6339db49f209f1359d3 Reviewed-by: Leandro Melo <leandro.melo@nokia.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user