class PackedVersion

Declaration

class PackedVersion { /* full declaration omitted */ };

Declared at: llvm/include/llvm/TextAPI/MachO/PackedVersion.h:22

Method Overview

Methods

PackedVersion()

Declared at: llvm/include/llvm/TextAPI/MachO/PackedVersion.h:26

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)

Declared at: llvm/include/llvm/TextAPI/MachO/PackedVersion.h:28

Parameters

unsigned int Major
unsigned int Minor
unsigned int Subminor

bool empty() const

Declared at: llvm/include/llvm/TextAPI/MachO/PackedVersion.h:31

unsigned int getMajor() const

Description

Retrieve the major version number.

Declared at: llvm/include/llvm/TextAPI/MachO/PackedVersion.h:34

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

Description

Retrieve the subminor version number, if provided.

Declared at: llvm/include/llvm/TextAPI/MachO/PackedVersion.h:40

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)

Declared at: llvm/include/llvm/TextAPI/MachO/PackedVersion.h:43

Parameters

llvm::StringRef Str

void print(llvm::raw_ostream& OS) const

Declared at: llvm/include/llvm/TextAPI/MachO/PackedVersion.h:53

Parameters

llvm::raw_ostream& OS

uint32_t rawValue() const

Declared at: llvm/include/llvm/TextAPI/MachO/PackedVersion.h:51