diff options
author | Nathaniel Shead <nathanieloshead@gmail.com> | 2025-09-01 21:28:03 +1000 |
---|---|---|
committer | Nathaniel Shead <nathanieloshead@gmail.com> | 2025-09-04 17:42:25 +1000 |
commit | 03505e5b93e635907ed5ef7edac11da4026655e2 (patch) | |
tree | fffac6da189064c3b4f6cb2fc83f61eb5e2fe4ed /libgcc | |
parent | 6ce76052aeaa3370243909b62c87bfdcb243b885 (diff) | |
download | gcc-03505e5b93e635907ed5ef7edac11da4026655e2.zip gcc-03505e5b93e635907ed5ef7edac11da4026655e2.tar.gz gcc-03505e5b93e635907ed5ef7edac11da4026655e2.tar.bz2 |
c++/modules: Mark implicit inline namespaces as purview [PR121724]
When we push an existing namespace within the module purview for the
first time, we also need to mark any parent inline namespaces as purview
to not confuse the streaming logic.
PR c++/121724
gcc/cp/ChangeLog:
* name-lookup.cc (push_namespace): Mark inline namespace
contexts as purview if needed.
gcc/testsuite/ChangeLog:
* g++.dg/modules/namespace-12_a.C: New test.
* g++.dg/modules/namespace-12_b.C: New test.
Signed-off-by: Nathaniel Shead <nathanieloshead@gmail.com>
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions