Home
last modified time | relevance | path

Searched refs:CachedFileSystemEntry (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/clang/include/clang/Tooling/DependencyScanning/
DDependencyScanningFilesystem.h34 class CachedFileSystemEntry {
37 CachedFileSystemEntry() : MaybeStat(llvm::vfs::Status()) {} in CachedFileSystemEntry() function
39 CachedFileSystemEntry(std::error_code Error) : MaybeStat(std::move(Error)) {} in CachedFileSystemEntry() function
49 static CachedFileSystemEntry createFileEntry(StringRef Filename,
54 static CachedFileSystemEntry createDirectoryEntry(llvm::vfs::Status &&Stat);
89 CachedFileSystemEntry(CachedFileSystemEntry &&) = default;
90 CachedFileSystemEntry &operator=(CachedFileSystemEntry &&) = default;
92 CachedFileSystemEntry(const CachedFileSystemEntry &) = delete;
93 CachedFileSystemEntry &operator=(const CachedFileSystemEntry &) = delete;
114 CachedFileSystemEntry Value;
[all …]
/external/llvm-project/clang/lib/Tooling/DependencyScanning/
DDependencyScanningFilesystem.cpp18 CachedFileSystemEntry CachedFileSystemEntry::createFileEntry( in createFileEntry()
44 CachedFileSystemEntry Result; in createFileEntry()
54 CachedFileSystemEntry Result; in createFileEntry()
94 CachedFileSystemEntry
95 CachedFileSystemEntry::createDirectoryEntry(llvm::vfs::Status &&Stat) { in createDirectoryEntry()
97 auto Result = CachedFileSystemEntry(); in createDirectoryEntry()
152 llvm::ErrorOr<const CachedFileSystemEntry *>
155 if (const CachedFileSystemEntry *Entry = getCachedEntry(Filename)) { in getOrCreateFileSystemEntry()
166 const CachedFileSystemEntry *Result; in getOrCreateFileSystemEntry()
169 CachedFileSystemEntry &CacheEntry = SharedCacheEntry.Value; in getOrCreateFileSystemEntry()
[all …]