forked from qt-creator/qt-creator
CppEditor: Respect whitespace in operator names for more quick fixes
* Affected quick fixes: InsertDefFromDecl, MoveFuncDefOutside * Fix also reformating pointer declaration of operator functions for qualified name ids Change-Id: I6a7578f496221557d103f5fdbb5dacc9540ee779 Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
This commit is contained in:
@@ -78,7 +78,7 @@ public:
|
||||
enum CursorHandling { RespectCursor, IgnoreCursor };
|
||||
|
||||
explicit PointerDeclarationFormatter(const CppRefactoringFilePtr refactoringFile,
|
||||
const Overview &overview,
|
||||
Overview &overview,
|
||||
CursorHandling cursorHandling = IgnoreCursor);
|
||||
|
||||
/*!
|
||||
@@ -113,11 +113,10 @@ private:
|
||||
void processIfWhileForStatement(ExpressionAST *expression, Symbol *symbol);
|
||||
void checkAndRewrite(DeclaratorAST *declarator, Symbol *symbol, TokenRange range,
|
||||
unsigned charactersToRemove = 0);
|
||||
QString rewriteDeclaration(FullySpecifiedType type, const Name *name) const;
|
||||
void printCandidate(AST *ast);
|
||||
|
||||
const CppRefactoringFilePtr m_cppRefactoringFile;
|
||||
const Overview &m_overview;
|
||||
Overview &m_overview;
|
||||
const CursorHandling m_cursorHandling;
|
||||
|
||||
ChangeSet m_changeSet;
|
||||
|
||||
Reference in New Issue
Block a user