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

@@ -1236,8 +1236,8 @@ InsertVirtualMethods::~InsertVirtualMethods()
m_dialog->deleteLater();
}
void InsertVirtualMethods::match(const CppQuickFixInterface &interface,
QuickFixOperations &result)
void InsertVirtualMethods::doMatch(const CppQuickFixInterface &interface,
QuickFixOperations &result)
{
QSharedPointer<InsertVirtualMethodsOp> op(new InsertVirtualMethodsOp(interface, m_dialog));
if (op->isValid())