[libcxx-commits] [PATCH] D153209: Revert "[libc++][PSTL] Add missing includes to PSTL headers"
Ian Anderson via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Jul 4 21:33:20 PDT 2023
iana abandoned this revision.
iana added a comment.
In D153209#4472107 <https://reviews.llvm.org/D153209#4472107>, @ldionne wrote:
>> I guess it doesn't hurt to have these extra includes, but they mask the missing module exports which are important to have. Without the exports, many unit tests have compiler errors, and even linker errors.
>
> We follow include-what-you-use in libc++ -- that's the baseline rule. This patch moves us away from include-what-you-use, so I don't think we want to move forward with it. The stuff we export from the modulemap is not what we consider the baseline -- we tweak it however it needs to be tweaked to fix stuff (a rather poor strategy TBH).
>
> If it's not needed for your stack of patches (I think it's not), then I would drop this.
Alright, I'll drop these reviews. They ended up being the wrong fix for the errors I was seeing in D144322 <https://reviews.llvm.org/D144322>, the exports were needed for the lots of linker errors I was seeing, But I agree it's correct to have these includes.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153209/new/
https://reviews.llvm.org/D153209
More information about the libcxx-commits
mailing list