forked from qt-creator/qt-creator
		
	C++: Introduce PointerDeclarationFormatter
For a given AST, CppRefactoringFile and Overview this will create a ChangeSet for rewriting the pointer or reference declaration according to the Overview. Task-number: QTCREATORBUG-6169 Change-Id: If6f824c1ea5e9f53a11a58ec8b6d696d01f0723e Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
This commit is contained in:
		@@ -595,6 +595,8 @@ void Document::check(CheckMode mode)
 | 
			
		||||
 | 
			
		||||
    if (TranslationUnitAST *ast = _translationUnit->ast()->asTranslationUnit())
 | 
			
		||||
        semantic(ast, _globalNamespace);
 | 
			
		||||
    else if (StatementAST *ast = _translationUnit->ast()->asStatement())
 | 
			
		||||
        semantic(ast, _globalNamespace);
 | 
			
		||||
    else if (ExpressionAST *ast = _translationUnit->ast()->asExpression())
 | 
			
		||||
        semantic(ast, _globalNamespace);
 | 
			
		||||
    else if (DeclarationAST *ast = translationUnit()->ast()->asDeclaration())
 | 
			
		||||
 
 | 
			
		||||
@@ -49,9 +49,6 @@ namespace CPlusPlus {
 | 
			
		||||
 | 
			
		||||
class CPLUSPLUS_EXPORT Overview
 | 
			
		||||
{
 | 
			
		||||
    Overview(const Overview &other);
 | 
			
		||||
    void operator =(const Overview &other);
 | 
			
		||||
 | 
			
		||||
public:
 | 
			
		||||
    Overview();
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user