ClangTools: Sanitize parameter order

The path to the serialized diagnostics log is the main parameter, so put
it first.

Change-Id: I8865aad302b0e5d3008dab606ab774167cebda3c
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
Nikolai Kosjar
2019-07-23 10:50:50 +02:00
parent 3885807817
commit bf98bea4ad
6 changed files with 19 additions and 19 deletions

View File

@@ -34,9 +34,9 @@ namespace Utils { class FilePath; }
namespace ClangTools {
namespace Internal {
Diagnostics readSerializedDiagnostics(const Utils::FilePath &filePath,
Diagnostics readSerializedDiagnostics(const Utils::FilePath &logFilePath,
const Utils::FilePath &mainFilePath,
const QSet<Utils::FilePath> &projectFiles,
const Utils::FilePath &logFilePath,
QString *errorMessage);
} // namespace Internal