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

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
 
- 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< FileSystemStatCachetakeNextStatCache ()
 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 (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...
 
- Protected Member Functions inherited from clang::FileSystemStatCache
LookupResult statChained (StringRef Path, FileData &Data, bool isFile, std::unique_ptr< vfs::File > *F, vfs::FileSystem &FS)
 
- Protected Attributes inherited from clang::FileSystemStatCache
std::unique_ptr< FileSystemStatCacheNextStatCache
 

Detailed Description

Definition at line 707 of file PTHLexer.cpp.

Constructor & Destructor Documentation

◆ PTHStatCache()

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

Definition at line 713 of file PTHLexer.cpp.

Member Function Documentation

◆ getStat()

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

Implements clang::FileSystemStatCache.

Definition at line 717 of file PTHLexer.cpp.


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