[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


================
@@ -943,10 +943,12 @@ getSystemOffloadArchs(Compilation &C, Action::OffloadKind Kind) {
   return GPUArchs;
 }
 
+using TripleSet = std::multiset<llvm::Triple>;
----------------
jhuber6 wrote:

Would it be easier to pass a custom comparator here instead of declaring `<` globally for `llvm::Triple`?

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


More information about the llvm-branch-commits mailing list