[all-commits] [llvm/llvm-project] 04d3a6: [libc++][modules] Add a header to forward-declare ...
Louis Dionne via All-commits
all-commits at lists.llvm.org
Thu Sep 12 10:35:50 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 04d3a6be62d338600f72d4dc2c7b24508cecd541
https://github.com/llvm/llvm-project/commit/04d3a6be62d338600f72d4dc2c7b24508cecd541
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-09-12 (Thu, 12 Sep 2024)
Changed paths:
M libcxx/include/CMakeLists.txt
A libcxx/include/__fwd/get.h
A libcxx/include/__fwd/variant.h
M libcxx/include/__ranges/elements_view.h
M libcxx/include/module.modulemap
M libcxx/include/variant
Log Message:
-----------
[libc++][modules] Add a header to forward-declare std::get (#108285)
This is necessary because e.g. ranges::elements_view uses std::get but
it needs to have in scope the declaration of all the versions of
std::get that exist in the library. This need is what had originally led
to elements_view.h gaining an include of __fwd/complex.h, but in reality
it is a more general issue that requires a canonical declration point
for all the std::get variations.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list