forked from qt-creator/qt-creator
ClangTools: Add using for QList<Diagnostics>
Change-Id: Ie7978fc33386d083b786ad75b3b6700125b11fec Reviewed-by: Cristian Adam <cristian.adam@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -398,10 +398,10 @@ void ClangToolRunControl::onRunnerFinishedWithSuccess(const QString &filePath)
|
||||
qCDebug(LOG) << "onRunnerFinishedWithSuccess:" << logFilePath;
|
||||
|
||||
QString errorMessage;
|
||||
const QList<Diagnostic> diagnostics = tool()->read(filePath,
|
||||
m_projectFiles,
|
||||
logFilePath,
|
||||
&errorMessage);
|
||||
const Diagnostics diagnostics = tool()->read(filePath,
|
||||
m_projectFiles,
|
||||
logFilePath,
|
||||
&errorMessage);
|
||||
QFile::remove(logFilePath); // Clean-up.
|
||||
|
||||
if (!errorMessage.isEmpty()) {
|
||||
|
||||
Reference in New Issue
Block a user