ClangCodeModel: Add helper for retrieving ClangdClient for source file

Change-Id: I0a379e146abe65a144efb307696852de75fa14a6
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Christian Kandeler
2021-05-19 13:08:01 +02:00
parent 7650447805
commit fe0bdf8314
3 changed files with 12 additions and 10 deletions

View File

@@ -80,6 +80,7 @@ public:
ClangProjectSettings &projectSettings(ProjectExplorer::Project *project) const;
ClangdClient *clientForProject(const ProjectExplorer::Project *project);
ClangdClient *clientForFile(const Utils::FilePath &file);
static ClangModelManagerSupport *instance();