[libcxx-commits] [PATCH] D103330: [libcxx][nfc] splices non-modifying algorithms into their own headers

Christopher Di Bella via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri May 28 10:59:54 PDT 2021


cjdb created this revision.
cjdb added reviewers: ldionne, zoecarver, Mordante.
Herald added a subscriber: mgorny.
cjdb requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: libcxx-commits, sstefan1.
Herald added a project: libc++.
Herald added a reviewer: libc++.

- Moves all of [alg.nonmodifying] into `<__algorithm/${ALGO_NAME}.h>`.
- Moves `__search` from `<functional>` into `<__functional/__search.h>` so we can stop including `<functional>` in `<algorithm>`.

Depends on D103329 <https://reviews.llvm.org/D103329>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D103330

Files:
  libcxx/include/CMakeLists.txt
  libcxx/include/__algorithm/adjacent_find.h
  libcxx/include/__algorithm/algorithm_functional.h
  libcxx/include/__algorithm/all_of.h
  libcxx/include/__algorithm/any_of.h
  libcxx/include/__algorithm/count.h
  libcxx/include/__algorithm/count_if.h
  libcxx/include/__algorithm/equal.h
  libcxx/include/__algorithm/find.h
  libcxx/include/__algorithm/find_end.h
  libcxx/include/__algorithm/find_first_of.h
  libcxx/include/__algorithm/find_if.h
  libcxx/include/__algorithm/find_if_not.h
  libcxx/include/__algorithm/for_each.h
  libcxx/include/__algorithm/for_each_n.h
  libcxx/include/__algorithm/is_permutation.h
  libcxx/include/__algorithm/mismatch.h
  libcxx/include/__algorithm/none_of.h
  libcxx/include/__algorithm/search.h
  libcxx/include/__algorithm/search_n.h
  libcxx/include/__functional/__search.h
  libcxx/include/algorithm
  libcxx/include/experimental/functional
  libcxx/include/functional
  libcxx/include/regex

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103330.348557.patch
Type: text/x-patch
Size: 101243 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210528/b94b85bf/attachment-0001.bin>


More information about the libcxx-commits mailing list