clang
3.9.0
|
Public Member Functions | |
PTHStatCache (PTHManager::PTHFileLookup &FL) | |
LookupResult | getStat (const char *Path, FileData &Data, bool isFile, std::unique_ptr< vfs::File > *F, vfs::FileSystem &FS) override |
![]() | |
virtual | ~FileSystemStatCache () |
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 (const char *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 (const char *Path, FileData &Data, bool isFile, std::unique_ptr< vfs::File > *F, vfs::FileSystem &FS) |
![]() | |
std::unique_ptr < FileSystemStatCache > | NextStatCache |
Definition at line 689 of file PTHLexer.cpp.
|
inline |
Definition at line 694 of file PTHLexer.cpp.
|
inlineoverridevirtual |
Implements clang::FileSystemStatCache.
Definition at line 698 of file PTHLexer.cpp.
References I, clang::FileData::InPCH, clang::FileData::IsDirectory, clang::FileData::IsNamedPipe, clang::FileData::ModTime, clang::FileData::Name, clang::FileData::Size, and clang::FileData::UniqueID.