forked from qt-creator/qt-creator
ignore blocks.
This commit is contained in:
@@ -436,6 +436,9 @@ void CPPEditor::updateMethodBoxIndex()
|
|||||||
else if (symbol->isGenerated())
|
else if (symbol->isGenerated())
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
else if (symbol->isBlock())
|
||||||
|
continue;
|
||||||
|
|
||||||
if (symbol) {
|
if (symbol) {
|
||||||
int column = symbol->column();
|
int column = symbol->column();
|
||||||
|
|
||||||
@@ -656,8 +659,6 @@ void CPPEditor::jumpToDefinition()
|
|||||||
return; // done
|
return; // done
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
qDebug() << "No results for expression:" << expression;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user