class PackedVersion
Declaration
class PackedVersion { /* full declaration omitted */ };
Declared at: llvm/include/llvm/TextAPI/MachO/PackedVersion.h:22
Method Overview
- public PackedVersion()
- public constexpr PackedVersion(uint32_t RawVersion)
- public PackedVersion(unsigned int Major, unsigned int Minor, unsigned int Subminor)
- public bool empty() const
- public unsigned int getMajor() const
- public unsigned int getMinor() const
- public unsigned int getSubminor() const
- public bool parse32(llvm::StringRef Str)
- public std::pair<bool, bool> parse64(llvm::StringRef Str)
- public void print(llvm::raw_ostream & OS) const
- public uint32_t rawValue() const
Methods
¶PackedVersion()
PackedVersion()
Declared at: llvm/include/llvm/TextAPI/MachO/PackedVersion.h:26
¶constexpr PackedVersion(uint32_t RawVersion)
constexpr PackedVersion(uint32_t RawVersion)
Declared at: llvm/include/llvm/TextAPI/MachO/PackedVersion.h:27
Parameters
- uint32_t RawVersion
¶PackedVersion(unsigned int Major,
unsigned int Minor,
unsigned int Subminor)
PackedVersion(unsigned int Major,
unsigned int Minor,
unsigned int Subminor)
Declared at: llvm/include/llvm/TextAPI/MachO/PackedVersion.h:28
Parameters
- unsigned int Major
- unsigned int Minor
- unsigned int Subminor
¶bool empty() const
bool empty() const
Declared at: llvm/include/llvm/TextAPI/MachO/PackedVersion.h:31
¶unsigned int getMajor() const
unsigned int getMajor() const
Description
Retrieve the major version number.
Declared at: llvm/include/llvm/TextAPI/MachO/PackedVersion.h:34
¶unsigned int getMinor() const
unsigned int getMinor() const
Description
Retrieve the minor version number, if provided.
Declared at: llvm/include/llvm/TextAPI/MachO/PackedVersion.h:37
¶unsigned int getSubminor() const
unsigned int getSubminor() const
Description
Retrieve the subminor version number, if provided.
Declared at: llvm/include/llvm/TextAPI/MachO/PackedVersion.h:40
¶bool parse32(llvm::StringRef Str)
bool parse32(llvm::StringRef Str)
Declared at: llvm/include/llvm/TextAPI/MachO/PackedVersion.h:42
Parameters
- llvm::StringRef Str
¶std::pair<bool, bool> parse64(llvm::StringRef Str)
std::pair<bool, bool> parse64(llvm::StringRef Str)
Declared at: llvm/include/llvm/TextAPI/MachO/PackedVersion.h:43
Parameters
- llvm::StringRef Str
¶void print(llvm::raw_ostream& OS) const
void print(llvm::raw_ostream& OS) const
Declared at: llvm/include/llvm/TextAPI/MachO/PackedVersion.h:53
Parameters
¶uint32_t rawValue() const
uint32_t rawValue() const
Declared at: llvm/include/llvm/TextAPI/MachO/PackedVersion.h:51