LLVM 17.0.0git
|
#include "llvm/TextAPI/PackedVersion.h"
Public Member Functions | |
constexpr | PackedVersion ()=default |
constexpr | PackedVersion (uint32_t RawVersion) |
PackedVersion (unsigned Major, unsigned Minor, unsigned Subminor) | |
bool | empty () const |
unsigned | getMajor () const |
Retrieve the major version number. | |
unsigned | getMinor () const |
Retrieve the minor version number, if provided. | |
unsigned | getSubminor () const |
Retrieve the subminor version number, if provided. | |
bool | parse32 (StringRef Str) |
std::pair< bool, bool > | parse64 (StringRef Str) |
bool | operator< (const PackedVersion &O) const |
bool | operator== (const PackedVersion &O) const |
bool | operator!= (const PackedVersion &O) const |
uint32_t | rawValue () const |
void | print (raw_ostream &OS) const |
Definition at line 25 of file PackedVersion.h.
|
constexprdefault |
|
inlineexplicitconstexpr |
Definition at line 30 of file PackedVersion.h.
|
inline |
Definition at line 31 of file PackedVersion.h.
|
inline |
Definition at line 34 of file PackedVersion.h.
|
inline |
Retrieve the major version number.
Definition at line 37 of file PackedVersion.h.
Referenced by print().
|
inline |
Retrieve the minor version number, if provided.
Definition at line 40 of file PackedVersion.h.
Referenced by print().
|
inline |
Retrieve the subminor version number, if provided.
Definition at line 43 of file PackedVersion.h.
Referenced by print().
|
inline |
Definition at line 52 of file PackedVersion.h.
|
inline |
Definition at line 48 of file PackedVersion.h.
|
inline |
Definition at line 50 of file PackedVersion.h.
Definition at line 22 of file PackedVersion.cpp.
References llvm::getAsUnsignedInteger(), and llvm::SmallVectorBase< Size_T >::size().
Definition at line 56 of file PackedVersion.cpp.
References llvm::getAsUnsignedInteger(), and llvm::SmallVectorBase< Size_T >::size().
void llvm::MachO::PackedVersion::print | ( | raw_ostream & | OS | ) | const |
Definition at line 103 of file PackedVersion.cpp.
References llvm::format(), getMajor(), getMinor(), and getSubminor().
|
inline |
Definition at line 54 of file PackedVersion.h.