forked from qt-creator/qt-creator
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:
@@ -30,7 +30,6 @@
|
||||
#include "clangdquickfixfactory.h"
|
||||
#include "clangeditordocumentprocessor.h"
|
||||
#include "clangdlocatorfilters.h"
|
||||
#include "clanghoverhandler.h"
|
||||
#include "clangoverviewmodel.h"
|
||||
#include "clangprojectsettings.h"
|
||||
#include "clangrefactoringengine.h"
|
||||
@@ -183,11 +182,6 @@ CppEditor::CppCompletionAssistProvider *ClangModelManagerSupport::functionHintAs
|
||||
return &m_functionHintAssistProvider;
|
||||
}
|
||||
|
||||
TextEditor::BaseHoverHandler *ClangModelManagerSupport::createHoverHandler()
|
||||
{
|
||||
return new Internal::ClangHoverHandler;
|
||||
}
|
||||
|
||||
void ClangModelManagerSupport::followSymbol(const CppEditor::CursorInEditor &data,
|
||||
Utils::ProcessLinkCallback &&processLinkCallback, bool resolveTarget,
|
||||
bool inNextSplit)
|
||||
@@ -241,6 +235,12 @@ bool ClangModelManagerSupport::supportsLocalUses(const TextEditor::TextDocument
|
||||
return !clientForFile(document->filePath());
|
||||
}
|
||||
|
||||
bool ClangModelManagerSupport::hasSpecialHoverHandler(
|
||||
const TextEditor::TextDocument *document) const
|
||||
{
|
||||
return clientForFile(document->filePath());
|
||||
}
|
||||
|
||||
CppEditor::BaseEditorDocumentProcessor *ClangModelManagerSupport::createEditorDocumentProcessor(
|
||||
TextEditor::TextDocument *baseTextDocument)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user