Clang: Test for file path RequestSourceLocationsForRenamingMessage

Change-Id: Ia384deb60e644d8894d7c56f81b3deb8b7706c11
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Marco Bubke
2016-08-08 15:58:48 +02:00
parent ba8939926b
commit f56ec53fa1
3 changed files with 32 additions and 8 deletions

View File

@@ -105,6 +105,12 @@ public:
return SourceLocationsContainer(Utils::clone(filePathHash), Utils::clone(sourceLocationContainers_));
}
const std::unordered_map<uint, FilePath> &filePathsForTestOnly() const
{
return filePathHash;
}
private:
std::unordered_map<uint, FilePath> filePathHash;
std::vector<V2::SourceLocationContainer> sourceLocationContainers_;