[libcxx-commits] [PATCH] D148405: [libc++] Remove the chrono include from algorithm

Ian Anderson via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sat Apr 15 13:30:31 PDT 2023


iana added a comment.

In D148405#4271084 <https://reviews.llvm.org/D148405#4271084>, @Mordante wrote:

> Interesting that it fails with modules. In general we keep these transitive includes to avoid possibly breaking user code that depends on these transitive includes. (Note it's a bug in the user's code to depend on these includes, but this is not easily spotted.) However when it block us we are free to remove them. So no objection to the removal.
>
> I expect this to fail in the CI since the transitive includes are not updated. Let me know if you need help with this.
>
> This change needs to be mentioned in our release notes (docs/ReleaseNotes.rst) since it may affect users.

I'm not sure what I'm doing wrong, but `check-cxx` doesn't complain about the removed include. If I take algorithm -> chrono out of the csv files it also doesn't complain.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D148405/new/

https://reviews.llvm.org/D148405



More information about the libcxx-commits mailing list