forked from qt-creator/qt-creator
		
	Merge branch '2.3'
Conflicts: src/plugins/debugger/qml/qmlengine.cpp Change-Id: I46509f0c187b71bbaed7b2118a160914f8250ca4
This commit is contained in:
		@@ -89,16 +89,11 @@ bool FindCdbBreakpoint::preVisit(AST *ast)
 | 
			
		||||
 | 
			
		||||
bool FindCdbBreakpoint::visit(FunctionDefinitionAST *ast)
 | 
			
		||||
{
 | 
			
		||||
    if (ast->ctor_initializer) {
 | 
			
		||||
        foundLine(ast->function_body->firstToken());
 | 
			
		||||
        return false;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    if (ast->function_body) {
 | 
			
		||||
        if (CompoundStatementAST *stmt = ast->function_body->asCompoundStatement()) {
 | 
			
		||||
            accept(stmt);
 | 
			
		||||
            if (!m_breakpointLine)
 | 
			
		||||
                foundLine(stmt->lastToken() - 1);
 | 
			
		||||
                foundLine(ast->function_body->firstToken());
 | 
			
		||||
            return false;
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user