15 #ifndef LLVM_CLANG_BASIC_FILESYSTEMSTATCACHE_H 16 #define LLVM_CLANG_BASIC_FILESYSTEMSTATCACHE_H 19 #include "llvm/ADT/StringMap.h" 20 #include "llvm/ADT/StringRef.h" 21 #include "llvm/Support/Allocator.h" 22 #include "llvm/Support/FileSystem.h" 47 bool IsDirectory =
false;
48 bool IsNamedPipe =
false;
52 bool IsVFSMapped =
false;
61 virtual void anchor();
84 static bool get(StringRef Path,
FileData &Data,
bool isFile,
85 std::unique_ptr<llvm::vfs::File> *F,
93 std::unique_ptr<llvm::vfs::File> *F,
94 llvm::vfs::FileSystem &FS) = 0;
103 llvm::StringMap<FileData, llvm::BumpPtrAllocator>
StatCalls;
106 llvm::StringMap<FileData, llvm::BumpPtrAllocator>::const_iterator;
112 std::unique_ptr<llvm::vfs::File> *F,
113 llvm::vfs::FileSystem &FS)
override;
118 #endif // LLVM_CLANG_BASIC_FILESYSTEMSTATCACHE_H DominatorTree GraphTraits specialization so the DominatorTree can be iterable by generic graph iterat...
TypePropertyCache< Private > Cache
We know the file exists and its cached stat data.
llvm::StringMap< FileData, llvm::BumpPtrAllocator >::const_iterator iterator
Abstract interface for introducing a FileManager cache for 'stat' system calls, which is used by prec...
Forward-declares and imports various common LLVM datatypes that clang wants to use unqualified...
llvm::StringMap< FileData, llvm::BumpPtrAllocator > StatCalls
The set of stat() calls that have been seen.
llvm::sys::fs::UniqueID UniqueID
Dataflow Directional Tag Classes.
A stat "cache" that can be used by FileManager to keep track of the results of stat() calls that occu...