[llvm] [LLVM][DWARF] Refactor code for generating DWARF V5 .debug_names acce… (PR #82264)

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 19 15:28:30 PST 2024


================
@@ -1994,6 +1994,10 @@ auto unique(Range &&R, Predicate P) {
   return std::unique(adl_begin(R), adl_end(R), P);
 }
 
+template <typename Range> auto unique(Range &&R) {
----------------
dwblaikie wrote:

Please make this change (moving `unique(Range&&)` to STLExtras, and adding unit test coverage) in a separate commit (per https://llvm.org/docs/DeveloperPolicy.html#incremental-development )

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


More information about the llvm-commits mailing list