CppEditor: Allow tests to run with ClangCodeModel enabled

So that in the CI we can simply run:
  $ qtcreator -test CppEditor -load ClangCodeModel
There are some failures left, which we will tackle one by one in follow-
up patches.

Change-Id: Ic4ebcb82f6439b344ae055889a6a16d56b2e3206
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Christian Kandeler
2023-11-20 17:07:16 +01:00
parent 711b976294
commit e0a06cda28
11 changed files with 150 additions and 129 deletions

View File

@@ -15,8 +15,8 @@ class ClangdQuickFixFactory : public CppEditor::CppQuickFixFactory
public:
ClangdQuickFixFactory();
void match(const CppEditor::Internal::CppQuickFixInterface &interface,
QuickFixOperations &result) override;
void doMatch(const CppEditor::Internal::CppQuickFixInterface &interface,
QuickFixOperations &result) override;
};
class ClangdQuickFixProvider : public LanguageClient::LanguageClientQuickFixProvider