clang: clang::FileEntry Class Reference (original) (raw)

Cached information about one file (either on disk or in the virtual file system). More...

#include "[clang/Basic/FileEntry.h](FileEntry%5F8h%5Fsource.html)"

Public Member Functions
~FileEntry ()
StringRef tryGetRealPathName () const
off_t getSize () const
void setSize (off_t NewSize)
unsigned getUID () const
const llvm::sys::fs::UniqueID & getUniqueID () const
time_t getModificationTime () const
const DirectoryEntry * getDir () const
Return the directory the file lives in.
bool isNamedPipe () const
Check whether the file is a named pipe (and thus can't be opened by the native FileManager methods).
void closeFile () const

Cached information about one file (either on disk or in the virtual file system).

If the 'File' member is valid, then this FileEntry has an open file descriptor for the file.

Definition at line 305 of file FileEntry.h.

FileEntry::~FileEntry ( ) default

closeFile()

void FileEntry::closeFile ( ) const

getDir()

Return the directory the file lives in.

Definition at line 338 of file FileEntry.h.

getModificationTime()

time_t clang::FileEntry::getModificationTime ( ) const inline

getSize()

off_t clang::FileEntry::getSize ( ) const inline

getUID()

unsigned clang::FileEntry::getUID ( ) const inline

getUniqueID()

const llvm::sys::fs::UniqueID & clang::FileEntry::getUniqueID ( ) const inline

isNamedPipe()

bool clang::FileEntry::isNamedPipe ( ) const inline

setSize()

void clang::FileEntry::setSize ( off_t NewSize) inline

tryGetRealPathName()

StringRef clang::FileEntry::tryGetRealPathName ( ) const inline

FileEntryTestHelper

friend class FileEntryTestHelper friend

FileManager


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