forked from qt-creator/qt-creator
ClangTools: Remove dead code
Change-Id: I5db111402902e81099489dc5ab4b0b929c574969 Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
This commit is contained in:
@@ -105,11 +105,6 @@ bool ClangToolRunner::run(const QString &filePath, const QStringList &compilerOp
|
||||
return true;
|
||||
}
|
||||
|
||||
QString ClangToolRunner::filePath() const
|
||||
{
|
||||
return m_filePath;
|
||||
}
|
||||
|
||||
void ClangToolRunner::onProcessStarted()
|
||||
{
|
||||
emit started();
|
||||
@@ -171,15 +166,5 @@ QString ClangToolRunner::processCommandlineAndOutput() const
|
||||
QString::fromLocal8Bit(m_processOutput)));
|
||||
}
|
||||
|
||||
QString ClangToolRunner::actualLogFile() const
|
||||
{
|
||||
if (QFileInfo(m_logFile).size() == 0) {
|
||||
// Current clang-cl ignores -o, always putting the log file into the working directory.
|
||||
return m_clangLogFileDir + QLatin1Char('/') + QFileInfo(m_filePath).completeBaseName()
|
||||
+ QLatin1String(".plist");
|
||||
}
|
||||
return m_logFile;
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace ClangTools
|
||||
|
||||
Reference in New Issue
Block a user