aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/clangtools/clangtoolrunner.cpp
diff options
context:
space:
mode:
authorDavid Schulz <[email protected]>2022-06-17 14:17:14 +0200
committerDavid Schulz <[email protected]>2022-06-17 13:04:42 +0000
commit153ff77a6b4f9b1a36d4c56d6349cde76664e754 (patch)
treebdac8ba8aaea8407aeb3d963bb324fee0cb44d60 /src/plugins/clangtools/clangtoolrunner.cpp
parentdcd3d9e71788953af3ee7cb4495805da19c62c34 (diff)
Utils: use cleaned stdout all over the place again
Amends 5ee880ce5e6998170823e6fc9afb6b6c36c6170a Change-Id: Ie0202db7d8455372c3697087d9571db6706b45a1 Reviewed-by: hjk <[email protected]>
Diffstat (limited to 'src/plugins/clangtools/clangtoolrunner.cpp')
-rw-r--r--src/plugins/clangtools/clangtoolrunner.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/clangtools/clangtoolrunner.cpp b/src/plugins/clangtools/clangtoolrunner.cpp
index c602203a24d..12fe0aede06 100644
--- a/src/plugins/clangtools/clangtoolrunner.cpp
+++ b/src/plugins/clangtools/clangtoolrunner.cpp
@@ -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