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