[llvm] [Support] Support 5-component VersionTuples (PR #181275)
Adrian Prantl via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 13 08:44:40 PST 2026
================
@@ -121,7 +145,8 @@ class VersionTuple {
/// provided, minor and subminor version numbers are considered to be zero.
friend bool operator==(const VersionTuple &X, const VersionTuple &Y) {
return X.Major == Y.Major && X.Minor == Y.Minor &&
- X.Subminor == Y.Subminor && X.Build == Y.Build;
+ X.Subminor == Y.Subminor && X.Build == Y.Build &&
+ X.Subbuild == Y.Subbuild;
----------------
adrian-prantl wrote:
That's more elegant, thanks!
https://github.com/llvm/llvm-project/pull/181275
More information about the llvm-commits
mailing list