LLVM: llvm::MachO::PackedVersion Class Reference (original) (raw)

#include "[llvm/TextAPI/PackedVersion.h](PackedVersion%5F8h%5Fsource.html)"

Public Member Functions
constexpr PackedVersion ()=default
constexpr PackedVersion (uint32_t RawVersion)
PackedVersion (unsigned Major, unsigned Minor, unsigned Subminor)
PackedVersion (VersionTuple VT)
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.
LLVM_ABI bool parse32 (StringRef Str)
LLVM_ABI 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
LLVM_ABI operator std::string () const
LLVM_ABI void print (raw_ostream &OS) const

Definition at line 28 of file PackedVersion.h.

llvm::MachO::PackedVersion::PackedVersion ( ) constexprdefault

PackedVersion() [2/4]

llvm::MachO::PackedVersion::PackedVersion ( uint32_t RawVersion) inlineconstexpr

PackedVersion() [3/4]

PackedVersion() [4/4]

llvm::MachO::PackedVersion::PackedVersion ( VersionTuple VT) inline

empty()

bool llvm::MachO::PackedVersion::empty ( ) const inline

getMajor()

unsigned llvm::MachO::PackedVersion::getMajor ( ) const inline

getMinor()

unsigned llvm::MachO::PackedVersion::getMinor ( ) const inline

getSubminor()

unsigned llvm::MachO::PackedVersion::getSubminor ( ) const inline

Retrieve the subminor version number, if provided.

Definition at line 55 of file PackedVersion.h.

Referenced by print().

operator std::string()

llvm::MachO::PackedVersion::operator std::string ( ) const

operator!=()

operator<()

operator==()

parse32()

parse64()

print()

void llvm::MachO::PackedVersion::print ( raw_ostream & OS ) const

rawValue()

uint32_t llvm::MachO::PackedVersion::rawValue ( ) const inline

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