Commit ea67bdb8 authored by Nikolai Kosjar's avatar Nikolai Kosjar

ClangStaticAnalyzer: Ensure to pop up the issues pane on errors

...at the end.

For cases where msvc parses/compiles fine but clang not, the issues pane was
not always shown in the end.

Task-number: QCE-62
Change-Id: Iab979b664e37dc7b35c2418566a7af74a4907829
Reviewed-by: default avatarChristian Kandeler <christian.kandeler@theqtcompany.com>
parent e6a572e0
......@@ -498,9 +498,9 @@ void ClangStaticAnalyzerRunControl::finalize()
+ QLatin1Char('\n'),
Utils::NormalMessageFormat);
if (m_filesAnalyzed == 0 && m_filesNotAnalyzed != 0) {
if (m_filesNotAnalyzed != 0) {
AnalyzerUtils::logToIssuesPane(Task::Error,
tr("Clang Static Analyzer: Failed to analyze any files."));
tr("Clang Static Analyzer: Not all files could be analyzed."));
}
m_progress.reportFinished();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment