clang API Documentation
A stat "cache" that can be used by FileManager to keep track of the results of stat() calls that occur throughout the execution of the front end. More...
#include <FileSystemStatCache.h>


Public Types | |
| typedef llvm::StringMap < struct stat, llvm::BumpPtrAllocator > ::const_iterator | iterator |
Public Member Functions | |
| iterator | begin () const |
| iterator | end () const |
| virtual LookupResult | getStat (const char *Path, struct stat &StatBuf, int *FileDescriptor) |
Public Attributes | |
| llvm::StringMap< struct stat, llvm::BumpPtrAllocator > | StatCalls |
| The set of stat() calls that have been seen. | |
A stat "cache" that can be used by FileManager to keep track of the results of stat() calls that occur throughout the execution of the front end.
Definition at line 86 of file FileSystemStatCache.h.
| typedef llvm::StringMap<struct stat, llvm::BumpPtrAllocator>::const_iterator clang::MemorizeStatCalls::iterator |
Definition at line 92 of file FileSystemStatCache.h.
| iterator clang::MemorizeStatCalls::begin | ( | ) | const [inline] |
Definition at line 94 of file FileSystemStatCache.h.
References StatCalls.
| iterator clang::MemorizeStatCalls::end | ( | ) | const [inline] |
Definition at line 95 of file FileSystemStatCache.h.
References StatCalls.
| MemorizeStatCalls::LookupResult MemorizeStatCalls::getStat | ( | const char * | Path, |
| struct stat & | StatBuf, | ||
| int * | FileDescriptor | ||
| ) | [virtual] |
Implements clang::FileSystemStatCache.
Definition at line 106 of file FileSystemStatCache.cpp.
References clang::FileSystemStatCache::CacheMissing, S_ISDIR, StatCalls, and clang::FileSystemStatCache::statChained().
| llvm::StringMap<struct stat, llvm::BumpPtrAllocator> clang::MemorizeStatCalls::StatCalls |