forked from qt-creator/qt-creator
ClangTools: Add tool that runs clang-tidy and clazy
... over the whole project. Generate and read serialized files to get diagnostics. Change-Id: Iafc25fc70443107a040a995efc038aed35102bbf Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
@@ -30,6 +30,8 @@
|
||||
#include <QList>
|
||||
#include <QCoreApplication>
|
||||
|
||||
namespace Utils { class FileName; }
|
||||
|
||||
namespace ClangTools {
|
||||
namespace Internal {
|
||||
|
||||
@@ -38,6 +40,9 @@ class LogFileReader
|
||||
Q_DECLARE_TR_FUNCTIONS(ClangTools::Internal::LogFileReader)
|
||||
public:
|
||||
static QList<Diagnostic> readPlist(const QString &filePath, QString *errorMessage);
|
||||
static QList<Diagnostic> readSerialized(const QString &filePath,
|
||||
const QString &logFilePath,
|
||||
QString *errorMessage);
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
|
||||
Reference in New Issue
Block a user