Represents a version number in the form major[.minor[.subminor[.build]]].
Synopsis
Declared in <llvm/Support/VersionTuple.h>
class VersionTuple;
Member Functions
Name |
Description |
|
Constructors |
Version components as a (major, minor, subminor, build, subbuild) tuple. |
|
Determine whether this version information is empty (e.g., all version components are zero). |
|
Retrieve a string representation of the version number. |
|
Retrieve the build version number, if provided. |
|
Retrieve the major version number. |
|
Retrieve the minor version number, if provided. |
|
Retrieve the subbuild version number, if provided. |
|
Retrieve the subminor version number, if provided. |
|
Return a version tuple that contains only components that are non‐zero. |
|
Try to parse the given string as a version number. |
|
Return a version tuple that contains a different major version but everything else is the same. |
|
Return a version tuple that contains only the first 3 version components. |
Friends
Name |
Description |
Feed version components of |
|
Compute a hash_code for version tuple |
|
Determine whether one version number follows or is equivalent to another. |
|
Determine whether one version number precedes or is equivalent to another. |
|
Determine whether one version number follows another. |
|
Determine whether one version number precedes another. |
|
Determine if two version numbers are not equivalent. |
|
Determine if two version numbers are equivalent. If not provided, minor and subminor version numbers are considered to be zero. |
Created with MrDocs