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

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 86 of file FileSystemStatCache.h.


Member Typedef Documentation

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

Definition at line 92 of file FileSystemStatCache.h.


Member Function Documentation

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]

Member Data Documentation

llvm::StringMap<struct stat, llvm::BumpPtrAllocator> clang::MemorizeStatCalls::StatCalls

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

Definition at line 89 of file FileSystemStatCache.h.

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


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