[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 10:03:58 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:

Could we just compare the string? That's the behavior this is replacing right.

https://github.com/llvm/llvm-project/pull/189264


More information about the llvm-branch-commits mailing list