forked from qt-creator/qt-creator
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user