forked from qt-creator/qt-creator
Clang: Optimize file path cache
We now fetch all directories and sources from the database at file path cache creation. Change-Id: I92510b49a234128f4c82b840611db82ead3f1a54 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -40,5 +40,7 @@ public:
|
||||
Utils::PathString (int directoryId));
|
||||
MOCK_METHOD1(fetchSourceNameAndDirectoryId,
|
||||
ClangBackEnd::Sources::SourceNameAndDirectoryId (int sourceId));
|
||||
MOCK_METHOD0(fetchAllDirectories, std::vector<ClangBackEnd::Sources::Directory>());
|
||||
MOCK_METHOD0(fetchAllSources, std::vector<ClangBackEnd::Sources::Source>());
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user