forked from qt-creator/qt-creator
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:
@@ -42,7 +42,7 @@ ClangdQuickFixFactory::ClangdQuickFixFactory() = default;
|
||||
void ClangdQuickFixFactory::match(const CppEditor::Internal::CppQuickFixInterface &interface,
|
||||
QuickFixOperations &result)
|
||||
{
|
||||
const auto client = ClangModelManagerSupport::instance()->clientForFile(interface.filePath());
|
||||
const auto client = ClangModelManagerSupport::clientForFile(interface.filePath());
|
||||
if (!client)
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user