|
clang 23.0.0git
|
Cached information about one file (either on disk or in the virtual file system). More...
#include "clang/Basic/FileEntry.h"
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). | |
| bool | isDeviceFile () const |
| void | closeFile () const |
Friends | |
| class | FileManager |
| class | FileEntryTestHelper |
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 273 of file FileEntry.h.
|
default |
| void FileEntry::closeFile | ( | ) | const |
Definition at line 23 of file FileEntry.cpp.
Referenced by clang::FileEntryRef::closeFile(), and clang::FileManager::getBufferForFile().
|
inline |
Return the directory the file lives in.
Definition at line 307 of file FileEntry.h.
|
inline |
Definition at line 304 of file FileEntry.h.
Referenced by clang::FileEntryRef::getModificationTime().
|
inline |
Definition at line 299 of file FileEntry.h.
Referenced by clang::FileManager::getBufferForFile(), clang::FileEntryRef::getSize(), and clang::SourceManager::overrideFileContents().
|
inline |
Definition at line 302 of file FileEntry.h.
Referenced by clang::FileEntryRef::getUID(), and clang::SourceManager::isMainFile().
|
inline |
Definition at line 303 of file FileEntry.h.
Referenced by clang::FileEntryRef::getUniqueID().
|
inline |
Definition at line 312 of file FileEntry.h.
Referenced by clang::FileEntryRef::isDeviceFile().
|
inline |
Check whether the file is a named pipe (and thus can't be opened by the native FileManager methods).
Definition at line 311 of file FileEntry.h.
Referenced by clang::FileManager::getBufferForFile(), and clang::FileEntryRef::isNamedPipe().
|
inline |
Definition at line 301 of file FileEntry.h.
|
inline |
Definition at line 298 of file FileEntry.h.
Referenced by clang::CIRGen::CIRGenModule::CIRGenModule(), and getFileName().
|
friend |
Definition at line 275 of file FileEntry.h.
References FileEntryTestHelper.
Referenced by FileEntryTestHelper.
|
friend |