[llvm-branch-commits] [clang] [llvm] clang: Store Triple in multiset (PR #189264)
Joseph Huber via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Sun Mar 29 09:57:55 PDT 2026
================
@@ -387,6 +387,13 @@ class Triple {
return !(*this == Other);
}
+ bool operator<(const Triple &Other) const {
+ return std::tie(Arch, SubArch, Vendor, OS, Environment, ObjectFormat,
----------------
jhuber6 wrote:
The above `==` comparison doesn't include `Data`, so could we have a case where `a == b && a < b`?
https://github.com/llvm/llvm-project/pull/189264
More information about the llvm-branch-commits
mailing list