[all-commits] [llvm/llvm-project] 980762: [libc++] Include <__iterator/distance.h> instead o...
Joseph Loser via All-commits
all-commits at lists.llvm.org
Fri Aug 20 12:02:46 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9807626bc721a2330758c449548e89913f1826af
https://github.com/llvm/llvm-project/commit/9807626bc721a2330758c449548e89913f1826af
Author: Joe Loser <joeloser93 at gmail.com>
Date: 2021-08-20 (Fri, 20 Aug 2021)
Changed paths:
M libcxx/include/__algorithm/equal.h
M libcxx/include/__algorithm/is_permutation.h
Log Message:
-----------
[libc++] Include <__iterator/distance.h> instead of <iterator> in a few algorithm headers
A few headers in algorithm include `<iterator>` when
`<__iterator/distance.h>` would suffice. Change them
to just include `<__iterator.distance.h>`.
Differential Revision: https://reviews.llvm.org/D108393
More information about the All-commits
mailing list