Clang: Add time stamp based filtering for project parts

The source ids are now filtered by the modified time. If the modified time
in the database is older than the modified time of the file it will be
parsed. If it is not newer it will be not parsed.

Change-Id: I4ade3443dd66573ac88053a2cafa600e54cfe973
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
This commit is contained in:
Marco Bubke
2018-02-08 17:49:02 +01:00
parent a6f47e872f
commit 73963cc9c7
24 changed files with 588 additions and 15 deletions

View File

@@ -79,6 +79,13 @@ MockSqliteReadStatement::value<int>(const int &directoryId, const Utils::SmallSt
return valueReturnInt32(directoryId, text);
}
template <>
Utils::optional<long long>
MockSqliteReadStatement::value<long long>(const int &sourceId)
{
return valueReturnInt64(sourceId);
}
template <>
Utils::optional<Utils::PathString>
MockSqliteReadStatement::value<Utils::PathString>(const int &directoryId)