forked from qt-creator/qt-creator
Clang: Fix wrong QTC_ASSERTS
If the last editor is closed, "editor" becomes a nullptr, which is valid value in this case. Change-Id: Id5f92cb4367199d782e33acc37077103e9986644 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -243,7 +243,7 @@ const QVector<ClangBackEnd::TokenInfoContainer>
|
||||
|
||||
void ClangEditorDocumentProcessor::clearTaskHubIssues()
|
||||
{
|
||||
m_diagnosticManager.clearTaskHubIssues();
|
||||
ClangDiagnosticManager::clearTaskHubIssues();
|
||||
}
|
||||
|
||||
void ClangEditorDocumentProcessor::generateTaskHubIssues()
|
||||
|
||||
Reference in New Issue
Block a user