ClangCodeModel: Make some ClangModelManagerSupport methods static

Change-Id: Ie34a89ae01783631c6482cff8d4866595e757be5
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Christian Kandeler
2022-08-01 18:07:41 +02:00
parent df4155f617
commit 2f169bdfcb
7 changed files with 15 additions and 19 deletions

View File

@@ -69,8 +69,8 @@ public:
std::unique_ptr<CppEditor::AbstractOverviewModel> createOverviewModel() override;
bool usesClangd(const TextEditor::TextDocument *document) const override;
ClangdClient *clientForProject(const ProjectExplorer::Project *project) const;
ClangdClient *clientForFile(const Utils::FilePath &file) const;
static ClangdClient *clientForProject(const ProjectExplorer::Project *project);
static ClangdClient *clientForFile(const Utils::FilePath &file);
static ClangModelManagerSupport *instance();