forked from qt-creator/qt-creator
Debugger: Use line information to find matching scopes for tooltips
More robust to variations in tool chains than function names. (e.g. GDB reports 'foo' and LLDB 'foo()') Change-Id: I1e5a3273b571658b4dd4200c9b3a0e9542a16015 Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -42,7 +42,8 @@ namespace Internal {
|
||||
// Editor tooltip support
|
||||
bool isCppEditor(TextEditor::TextEditorWidget *editorWidget);
|
||||
QString cppExpressionAt(TextEditor::TextEditorWidget *editorWidget, int pos,
|
||||
int *line, int *column, QString *function = 0);
|
||||
int *line, int *column, QString *function = 0,
|
||||
int *scopeFromLine = 0, int *scopeToLine = 0);
|
||||
QString fixCppExpression(const QString &exp);
|
||||
QString cppFunctionAt(const QString &fileName, int line, int column = 0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user