Clang: Sort file path ids

We will move that code to an other place where we will implement the tests
for the sorting.

Change-Id: Ia6e868466e2c43acdc0f5a8ed73b32cfc24613c1
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Marco Bubke
2019-08-05 14:11:35 +02:00
parent 4280a68d9f
commit d610cf3793

View File

@@ -56,6 +56,8 @@ public:
std::back_inserter(filePathIds),
[&] (const auto &filePath) { return this->filePathId(filePath); });
std::sort(filePathIds.begin(), filePathIds.end());
return filePathIds;
}