clang  3.9.0
Public Member Functions | List of all members
clang::PTHStatCache Class Reference
Inheritance diagram for clang::PTHStatCache:
[legend]
Collaboration diagram for clang::PTHStatCache:
[legend]

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
 
- Public Member Functions inherited from clang::FileSystemStatCache
virtual ~FileSystemStatCache ()
 
void setNextStatCache (std::unique_ptr< FileSystemStatCache > Cache)
 Sets the next stat call cache in the chain of stat caches. More...
 
FileSystemStatCachegetNextStatCache ()
 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

- Public Types inherited from clang::FileSystemStatCache
enum  LookupResult { CacheExists, CacheMissing }
 
- Static Public Member Functions inherited from clang::FileSystemStatCache
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...
 
- Protected Member Functions inherited from clang::FileSystemStatCache
LookupResult statChained (const char *Path, FileData &Data, bool isFile, std::unique_ptr< vfs::File > *F, vfs::FileSystem &FS)
 
- Protected Attributes inherited from clang::FileSystemStatCache
std::unique_ptr
< FileSystemStatCache
NextStatCache
 

Detailed Description

Definition at line 689 of file PTHLexer.cpp.

Constructor & Destructor Documentation

clang::PTHStatCache::PTHStatCache ( PTHManager::PTHFileLookup FL)
inline

Definition at line 694 of file PTHLexer.cpp.

Member Function Documentation

LookupResult clang::PTHStatCache::getStat ( const char *  Path,
FileData Data,
bool  isFile,
std::unique_ptr< vfs::File > *  F,
vfs::FileSystem FS 
)
inlineoverridevirtual

The documentation for this class was generated from the following file: