ClangCodeModel: Remove libclang-based tooltip support

Change-Id: I63d934fc3d480e3c5198e7db1a595b3309e89533
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Christian Kandeler
2022-04-27 16:36:22 +02:00
parent 7cef593ec0
commit 52d9def5e9
10 changed files with 21 additions and 295 deletions

View File

@@ -1307,6 +1307,11 @@ bool CppModelManager::supportsLocalUses(const TextEditor::TextDocument *document
return instance()->d->m_activeModelManagerSupport->supportsLocalUses(document);
}
bool CppModelManager::hasSpecialHoverHandler(const TextEditor::TextDocument *document)
{
return instance()->d->m_activeModelManagerSupport->hasSpecialHoverHandler(document);
}
bool CppModelManager::isClangCodeModelActive() const
{
return d->m_activeModelManagerSupport != d->m_builtinModelManagerSupport;
@@ -1658,7 +1663,7 @@ CppCompletionAssistProvider *CppModelManager::functionHintAssistProvider() const
TextEditor::BaseHoverHandler *CppModelManager::createHoverHandler() const
{
return d->m_activeModelManagerSupport->createHoverHandler();
return d->m_builtinModelManagerSupport->createHoverHandler();
}
void CppModelManager::followSymbol(const CursorInEditor &data,