[libcxx-commits] [libcxx] [libc++] Regenerate transitive include. (PR #202001)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Jun 8 03:46:45 PDT 2026
ldionne wrote:
I think we have been following a consistent pattern so far where headers are empty (whether included in a previous standard mode, or e.g. `<locale>` when localization is disabled), not a `#error`. I think this behavior is also (the only way to be?) consistent with headers that provide partial contents (e.g. some parts of the header are provided, others are not).
> Also, do we want to support including <barrier> etc. in no-threads modes, in which they just effectively provide nothing?
Following the reasoning above based on prior art, I would say that we do want to support that. Don't we already support that?
If we agree on this, then I think the transitive includes machinery should simply be fixed to reflect that.
https://github.com/llvm/llvm-project/pull/202001
More information about the libcxx-commits
mailing list