|
clang
5.0.0
|
The result of a status operation.
More...
#include "clang/Basic/VirtualFileSystem.h"
Public Member Functions | |
| Status () | |
| Status (const llvm::sys::fs::file_status &Status) | |
| Status (StringRef Name, llvm::sys::fs::UniqueID UID, llvm::sys::TimePoint<> MTime, uint32_t User, uint32_t Group, uint64_t Size, llvm::sys::fs::file_type Type, llvm::sys::fs::perms Perms) | |
| StringRef | getName () const |
| Returns the name that should be used for this file or directory. More... | |
Status interface from llvm::sys::fs | |
| llvm::sys::fs::file_type | getType () const |
| llvm::sys::fs::perms | getPermissions () const |
| llvm::sys::TimePoint | getLastModificationTime () const |
| llvm::sys::fs::UniqueID | getUniqueID () const |
| uint32_t | getUser () const |
| uint32_t | getGroup () const |
| uint64_t | getSize () const |
Status queries | |
These are static queries in llvm::sys::fs. | |
| bool | equivalent (const Status &Other) const |
| bool | isDirectory () const |
| bool | isRegularFile () const |
| bool | isOther () const |
| bool | isSymlink () const |
| bool | isStatusKnown () const |
| bool | exists () const |
Static Public Member Functions | |
| static Status | copyWithNewName (const Status &In, StringRef NewName) |
| Get a copy of a Status with a different name. More... | |
| static Status | copyWithNewName (const llvm::sys::fs::file_status &In, StringRef NewName) |
Public Attributes | |
| bool | IsVFSMapped |
The result of a status operation.
Definition at line 48 of file VirtualFileSystem.h.
|
inline |
Definition at line 62 of file VirtualFileSystem.h.
| clang::vfs::Status::Status | ( | const llvm::sys::fs::file_status & | Status | ) |
| clang::vfs::Status::Status | ( | StringRef | Name, |
| llvm::sys::fs::UniqueID | UID, | ||
| llvm::sys::TimePoint<> | MTime, | ||
| uint32_t | User, | ||
| uint32_t | Group, | ||
| uint64_t | Size, | ||
| llvm::sys::fs::file_type | Type, | ||
| llvm::sys::fs::perms | Perms | ||
| ) |
Get a copy of a Status with a different name.
Definition at line 49 of file VirtualFileSystem.cpp.
References getGroup(), getLastModificationTime(), getPermissions(), getSize(), getType(), getUniqueID(), getUser(), and Status.
|
static |
Definition at line 61 of file VirtualFileSystem.cpp.
References getUniqueID().
| bool Status::exists | ( | ) | const |
Definition at line 79 of file VirtualFileSystem.cpp.
Referenced by clang::vfs::FileSystem::exists().
|
inline |
Definition at line 84 of file VirtualFileSystem.h.
Referenced by copyWithNewName().
|
inline |
Definition at line 81 of file VirtualFileSystem.h.
Referenced by clang::serialization::ModuleManager::addModule(), clang::PrecompiledPreamble::CanReuse(), copyStatusToFileData(), and copyWithNewName().
|
inline |
Returns the name that should be used for this file or directory.
Definition at line 75 of file VirtualFileSystem.h.
Referenced by copyStatusToFileData(), clang::vfs::File::getName(), and clang::vfs::detail::InMemoryDirectory::toString().
|
inline |
Definition at line 80 of file VirtualFileSystem.h.
Referenced by copyWithNewName().
|
inline |
Definition at line 85 of file VirtualFileSystem.h.
Referenced by clang::PrecompiledPreamble::CanReuse(), copyStatusToFileData(), and copyWithNewName().
|
inline |
Definition at line 79 of file VirtualFileSystem.h.
Referenced by copyStatusToFileData(), and copyWithNewName().
|
inline |
Definition at line 82 of file VirtualFileSystem.h.
Referenced by clang::PrecompiledPreamble::CanReuse(), copyStatusToFileData(), copyWithNewName(), and equivalent().
|
inline |
Definition at line 83 of file VirtualFileSystem.h.
Referenced by copyWithNewName().
| bool Status::isDirectory | ( | ) | const |
Definition at line 64 of file VirtualFileSystem.cpp.
Referenced by copyStatusToFileData().
| bool Status::isOther | ( | ) | const |
Definition at line 70 of file VirtualFileSystem.cpp.
| bool Status::isRegularFile | ( | ) | const |
Definition at line 67 of file VirtualFileSystem.cpp.
| bool Status::isStatusKnown | ( | ) | const |
Definition at line 76 of file VirtualFileSystem.cpp.
| bool Status::isSymlink | ( | ) | const |
Definition at line 73 of file VirtualFileSystem.cpp.
| bool clang::vfs::Status::IsVFSMapped |
Definition at line 59 of file VirtualFileSystem.h.
Referenced by copyStatusToFileData(), and getRedirectedFileStatus().
1.8.6