forked from qt-creator/qt-creator
ClangTools: Extract filtering in readSerializedDiagnostics()
Change-Id: I07a4339af72d1e232eb7fe152a6af133a6a94436 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -27,16 +27,16 @@
|
||||
|
||||
#include "clangtoolsdiagnostic.h"
|
||||
|
||||
#include <QSet>
|
||||
|
||||
namespace Utils { class FilePath; }
|
||||
|
||||
namespace ClangTools {
|
||||
namespace Internal {
|
||||
|
||||
using AcceptDiagsFromFilePath = std::function<bool(const Utils::FilePath &)>;
|
||||
|
||||
Diagnostics readSerializedDiagnostics(const Utils::FilePath &logFilePath,
|
||||
const Utils::FilePath &mainFilePath,
|
||||
const QSet<Utils::FilePath> &projectFiles,
|
||||
const AcceptDiagsFromFilePath &acceptFromFilePath,
|
||||
QString *errorMessage);
|
||||
|
||||
} // namespace Internal
|
||||
|
||||
Reference in New Issue
Block a user