clang
7.0.0
|
Public Member Functions | |
PTHStatCache (PTHManager::PTHFileLookup &FL) | |
LookupResult | getStat (StringRef Path, FileData &Data, bool isFile, std::unique_ptr< vfs::File > *F, vfs::FileSystem &FS) override |
![]() | |
virtual | ~FileSystemStatCache ()=default |
void | setNextStatCache (std::unique_ptr< FileSystemStatCache > Cache) |
Sets the next stat call cache in the chain of stat caches. More... | |
FileSystemStatCache * | getNextStatCache () |
Retrieve the next stat call cache in the chain. More... | |
std::unique_ptr< FileSystemStatCache > | takeNextStatCache () |
Retrieve the next stat call cache in the chain, transferring ownership of this cache (and, transitively, all of the remaining caches) to the caller. More... | |
Additional Inherited Members | |
![]() | |
enum | LookupResult { CacheExists, CacheMissing } |
![]() | |
static bool | get (StringRef Path, FileData &Data, bool isFile, std::unique_ptr< vfs::File > *F, FileSystemStatCache *Cache, vfs::FileSystem &FS) |
Get the 'stat' information for the specified path, using the cache to accelerate it if possible. More... | |
![]() | |
LookupResult | statChained (StringRef Path, FileData &Data, bool isFile, std::unique_ptr< vfs::File > *F, vfs::FileSystem &FS) |
![]() | |
std::unique_ptr< FileSystemStatCache > | NextStatCache |
Definition at line 707 of file PTHLexer.cpp.
|
inline |
Definition at line 713 of file PTHLexer.cpp.
|
inlineoverridevirtual |
Implements clang::FileSystemStatCache.
Definition at line 717 of file PTHLexer.cpp.