diff options
Diffstat (limited to 'src/libs/clangsupport/filepathcaching.cpp')
-rw-r--r-- | src/libs/clangsupport/filepathcaching.cpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/libs/clangsupport/filepathcaching.cpp b/src/libs/clangsupport/filepathcaching.cpp index 372ed86bd3..4464ea8201 100644 --- a/src/libs/clangsupport/filepathcaching.cpp +++ b/src/libs/clangsupport/filepathcaching.cpp @@ -52,4 +52,29 @@ DirectoryPathId FilePathCaching::directoryPathId(FilePathId filePathId) const return m_cache.directoryPathId(filePathId); } +FilePathId CopyableFilePathCaching::filePathId(FilePathView filePath) const +{ + return m_cache.filePathId(filePath); +} + +FilePath CopyableFilePathCaching::filePath(FilePathId filePathId) const +{ + return m_cache.filePath(filePathId); +} + +DirectoryPathId CopyableFilePathCaching::directoryPathId(Utils::SmallStringView directoryPath) const +{ + return m_cache.directoryPathId(directoryPath); +} + +Utils::PathString CopyableFilePathCaching::directoryPath(DirectoryPathId directoryPathId) const +{ + return m_cache.directoryPath(directoryPathId); +} + +DirectoryPathId CopyableFilePathCaching::directoryPathId(FilePathId filePathId) const +{ + return m_cache.directoryPathId(filePathId); +} + } // namespace ClangBackEnd |