ClangCodeModel: Remove ClangModelManagerSupport::instance()

Not needed.

Change-Id: I46ee3a493ddb59c4b5f0e3eb4443d7f348a6b074
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-08-02 16:15:38 +02:00
parent 3a53eebcfd
commit c9b1e3a744
3 changed files with 3 additions and 15 deletions

View File

@@ -52,7 +52,7 @@ namespace Internal {
class ClangdClient;
class ClangModelManagerSupport:
class ClangModelManagerSupport :
public QObject,
public CppEditor::ModelManagerSupport
{
@@ -69,8 +69,6 @@ public:
static ClangdClient *clientForProject(const ProjectExplorer::Project *project);
static ClangdClient *clientForFile(const Utils::FilePath &file);
static ClangModelManagerSupport *instance();
private:
void followSymbol(const CppEditor::CursorInEditor &data,
const Utils::LinkHandler &processLinkCallback, bool resolveTarget,