class MemorizeStatCalls
Declaration
class MemorizeStatCalls : public FileSystemStatCache { /* full declaration omitted */ };
Description
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.
Declared at: clang/include/clang/Basic/FileSystemStatCache.h:68
Inherits from: FileSystemStatCache
Member Variables
- public llvm::StringMap<llvm::vfs::Status, llvm::BumpPtrAllocator> StatCalls
- The set of stat() calls that have been seen.
Method Overview
- public clang::MemorizeStatCalls::iterator begin() const
- public clang::MemorizeStatCalls::iterator end() const
- public std::error_code getStat(llvm::StringRef Path, llvm::vfs::Status & Status, bool isFile, std::unique_ptr<llvm::vfs::File> * F, llvm::vfs::FileSystem & FS)
Inherited from FileSystemStatCache:
Methods
¶clang::MemorizeStatCalls::iterator begin() const
clang::MemorizeStatCalls::iterator begin() const
Declared at: clang/include/clang/Basic/FileSystemStatCache.h:77
¶clang::MemorizeStatCalls::iterator end() const
clang::MemorizeStatCalls::iterator end() const
Declared at: clang/include/clang/Basic/FileSystemStatCache.h:78
¶std::error_code getStat(
llvm::StringRef Path,
llvm::vfs::Status& Status,
bool isFile,
std::unique_ptr<llvm::vfs::File>* F,
llvm::vfs::FileSystem& FS)
std::error_code getStat(
llvm::StringRef Path,
llvm::vfs::Status& Status,
bool isFile,
std::unique_ptr<llvm::vfs::File>* F,
llvm::vfs::FileSystem& FS)
Declared at: clang/include/clang/Basic/FileSystemStatCache.h:80
Parameters
- llvm::StringRef Path
- llvm::vfs::Status& Status
- bool isFile
- std::unique_ptr<llvm::vfs::File>* F
- llvm::vfs::FileSystem& FS