forked from qt-creator/qt-creator
Utils: use cleaned stdout all over the place again
Amends 5ee880ce5e
Change-Id: Ie0202db7d8455372c3697087d9571db6706b45a1
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -132,7 +132,7 @@ void ClangToolRunner::onProcessDone()
|
||||
if (m_process.result() == ProcessResult::StartFailed) {
|
||||
emit finishedWithFailure(generalProcessError(m_name), commandlineAndOutput());
|
||||
} else if (m_process.result() == ProcessResult::FinishedWithSuccess) {
|
||||
qCDebug(LOG).noquote() << "Output:\n" << m_process.stdOut();
|
||||
qCDebug(LOG).noquote() << "Output:\n" << m_process.cleanedStdOut();
|
||||
emit finishedWithSuccess(m_fileToAnalyze);
|
||||
} else if (m_process.result() == ProcessResult::FinishedWithError) {
|
||||
emit finishedWithFailure(finishedWithBadExitCode(m_name, m_process.exitCode()),
|
||||
@@ -149,7 +149,7 @@ QString ClangToolRunner::commandlineAndOutput() const
|
||||
"Output:\n%3")
|
||||
.arg(m_commandLine.toUserOutput())
|
||||
.arg(m_process.error())
|
||||
.arg(m_process.stdOut());
|
||||
.arg(m_process.cleanedStdOut());
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
|
||||
Reference in New Issue
Block a user