aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cppeditor/cppeditorwidget.cpp
diff options
context:
space:
mode:
authorIvan Donchevskii <ivan.donchevskii@qt.io>2017-09-08 09:33:35 +0200
committerIvan Donchevskii <ivan.donchevskii@qt.io>2017-09-22 12:58:46 +0000
commitf130de2400b8fa6bc98110b721e12e9e02a5fc09 (patch)
tree2738da3aab6b969f152bc0ff0ea535fc5655c496 /src/plugins/cppeditor/cppeditorwidget.cpp
parentc73793414b1bc8901413862972db8ced1ccb9151 (diff)
Clang: use HighlightingMarks for hover with Ctrl highlighting
Make this highlighting work without builtin code model but based on the HighlightingMarks that we already have from ClangCodeModel. Redundant parameters are removed by this change. Change-Id: I73b5dab46ba59d2f813236831818f0a9bc94c5bc Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
Diffstat (limited to 'src/plugins/cppeditor/cppeditorwidget.cpp')
-rw-r--r--src/plugins/cppeditor/cppeditorwidget.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/plugins/cppeditor/cppeditorwidget.cpp b/src/plugins/cppeditor/cppeditorwidget.cpp
index 28f4938024..7593835171 100644
--- a/src/plugins/cppeditor/cppeditorwidget.cpp
+++ b/src/plugins/cppeditor/cppeditorwidget.cpp
@@ -649,15 +649,6 @@ CppEditorWidget::Link CppEditorWidget::findLinkAt(const QTextCursor &cursor,
return Link();
const Utils::FileName &filePath = textDocument()->filePath();
- if (!resolveTarget) {
- // TODO: get that part also from clang
- return d->m_builtinFollowSymbol.findLink(CppTools::CursorInEditor{cursor, filePath, this},
- resolveTarget,
- d->m_modelManager->snapshot(),
- d->m_lastSemanticInfo.doc,
- d->m_modelManager->symbolFinder(),
- inNextSplit);
- }
return followSymbolInterface()->findLink(CppTools::CursorInEditor{cursor, filePath, this},
resolveTarget,