forked from qt-creator/qt-creator
ClangTools: Get rid of OutputFileFormat enum
This enum contains only one value now, so it's no-op.
Amends 9fc2fda07e
Change-Id: Ifa144dafb6155db93c06e3faecc40e38e464dac0
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -5,8 +5,6 @@
|
||||
|
||||
#include "clangtidyclazyrunner.h"
|
||||
#include "clangtool.h"
|
||||
#include "clangtoolslogfilereader.h"
|
||||
#include "clangtoolsprojectsettings.h"
|
||||
#include "clangtoolssettings.h"
|
||||
#include "clangtoolsutils.h"
|
||||
#include "executableinfo.h"
|
||||
@@ -323,10 +321,7 @@ void ClangToolRunWorker::onRunnerFinishedWithSuccess(ClangToolRunner *runner,
|
||||
emit runnerFinished();
|
||||
|
||||
QString errorMessage;
|
||||
const Diagnostics diagnostics = m_tool->read(runner->outputFileFormat(),
|
||||
outputFilePath,
|
||||
m_projectFiles,
|
||||
&errorMessage);
|
||||
const Diagnostics diagnostics = m_tool->read(outputFilePath, m_projectFiles, &errorMessage);
|
||||
|
||||
if (!errorMessage.isEmpty()) {
|
||||
m_filesAnalyzed.remove(filePath);
|
||||
|
||||
Reference in New Issue
Block a user