forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/5.0'
Conflicts: src/libs/utils/processreaper.cpp src/plugins/clangcodemodel/clangmodelmanagersupport.cpp src/plugins/cmakeprojectmanager/cmakeprocess.cpp Change-Id: Ie248bcb02a80f3e02ab19d73033ce2ba31e7fd83
This commit is contained in:
@@ -68,6 +68,7 @@
|
||||
#include <QMenu>
|
||||
#include <QTextBlock>
|
||||
#include <QTimer>
|
||||
#include <QtDebug>
|
||||
|
||||
using namespace CppEditor;
|
||||
using namespace LanguageClient;
|
||||
@@ -381,7 +382,7 @@ ClangdClient *ClangModelManagerSupport::clientForProject(
|
||||
&& c->state() != Client::ShutdownRequested
|
||||
&& c->state() != Client::Shutdown;
|
||||
});
|
||||
QTC_CHECK(clients.size() <= 1);
|
||||
QTC_ASSERT(clients.size() <= 1, qDebug() << project << clients.size());
|
||||
return clients.empty() ? nullptr : qobject_cast<ClangdClient *>(clients.first());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user