forked from qt-creator/qt-creator
CDB breakpoints: Fix line adjustment in case statements.
Task-number: QTCREATORBUG-6207 Change-Id: I4df50a412dd960a0d53a824a6c4a93712bd743e8 Reviewed-on: http://codereview.qt-project.org/5964 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
@@ -107,12 +107,6 @@ bool FindCdbBreakpoint::visit(QtMemberDeclarationAST *ast)
|
||||
return false;
|
||||
}
|
||||
|
||||
bool FindCdbBreakpoint::visit(CaseStatementAST *ast)
|
||||
{
|
||||
foundLine(ast->lastToken() - 1);
|
||||
return false;
|
||||
}
|
||||
|
||||
bool FindCdbBreakpoint::visit(CompoundStatementAST *ast)
|
||||
{
|
||||
accept(ast->statement_list);
|
||||
|
||||
Reference in New Issue
Block a user