clang API Documentation

Public Types | Public Member Functions | Public Attributes
clang::MemorizeStatCalls Class Reference

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>

Inheritance diagram for clang::MemorizeStatCalls:
Inheritance graph
[legend]
Collaboration diagram for clang::MemorizeStatCalls:
Collaboration graph
[legend]

List of all members.

Public Types

typedef llvm::StringMap
< FileData,
llvm::BumpPtrAllocator >
::const_iterator 
iterator

Public Member Functions

iterator begin () const
iterator end () const
LookupResult getStat (const char *Path, FileData &Data, bool isFile, std::unique_ptr< vfs::File > *F, vfs::FileSystem &FS) override

Public Attributes

llvm::StringMap< FileData,
llvm::BumpPtrAllocator > 
StatCalls
 The set of stat() calls that have been seen.

Detailed 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.

Definition at line 113 of file FileSystemStatCache.h.


Member Typedef Documentation

typedef llvm::StringMap<FileData, llvm::BumpPtrAllocator>::const_iterator clang::MemorizeStatCalls::iterator

Definition at line 119 of file FileSystemStatCache.h.


Member Function Documentation

Definition at line 121 of file FileSystemStatCache.h.

References StatCalls.

Definition at line 122 of file FileSystemStatCache.h.

References StatCalls.

MemorizeStatCalls::LookupResult MemorizeStatCalls::getStat ( const char *  Path,
FileData Data,
bool  isFile,
std::unique_ptr< vfs::File > *  F,
vfs::FileSystem FS 
) [override, virtual]

Member Data Documentation

llvm::StringMap<FileData, llvm::BumpPtrAllocator> clang::MemorizeStatCalls::StatCalls

The set of stat() calls that have been seen.

Definition at line 116 of file FileSystemStatCache.h.

Referenced by begin(), end(), and getStat().


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