[clang-tools-extra] [llvm] [llvm][ADT] Add wrappers to `std::includes` (PR #143297)

Jakub Kuderski via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 9 06:27:22 PDT 2025


================
@@ -1881,6 +1881,19 @@ OutputIt move(R &&Range, OutputIt Out) {
   return std::move(adl_begin(Range), adl_end(Range), Out);
 }
 
+/// Provide wrappers to std::includes which take ranges instead of having to
+/// pass begin/end explicitly.
----------------
kuhar wrote:

Maybe it would be worth adding a sentence of explanation of what `includes` does -- it's relatively new (c++17) and not immediately familiar to everyone.

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


More information about the llvm-commits mailing list