|
LLVM 24.0.0git
|
This class wraps the platform specific file handle/descriptor type to provide an unified representation. More...
#include "llvm/Support/File.h"
Public Types | |
| using | value_type = int |
| A file descriptor on UNIX. | |
Public Member Functions | |
| file_t () | |
| Default constructor to invalid file. | |
| file_t (value_type Value) | |
| Implicit constructor from underlying value. | |
| bool | isValid () const |
| Is a valid file. | |
| value_type | get () const |
| Get the underlying value and return a platform specific value. | |
Public Attributes | |
| value_type | Value |
Static Public Attributes | |
| static constexpr value_type | Invalid = -1 |
| Value for an invalid file descriptor. | |
This class wraps the platform specific file handle/descriptor type to provide an unified representation.
| using llvm::sys::fs::file_t::value_type = int |
|
inline |
|
inline |
|
inline |
|
inline |
Is a valid file.
Definition at line 43 of file File.h.
References Invalid, and Value.
Referenced by llvm::NewArchiveMember::getFile().
|
staticconstexpr |
| value_type llvm::sys::fs::file_t::Value |