aboutsummaryrefslogtreecommitdiff
path: root/libjava/gnu/java/net/protocol/gcjlib
diff options
context:
space:
mode:
authorvspefs <vspefs@protonmail.com>2026-01-26 20:56:52 +0000
committerJason Merrill <jason@redhat.com>2026-01-28 10:40:33 +0800
commitfd7635c7d81d8183300934f91b885ecca52dda9b (patch)
treeebb7223174057e18cae062f19f36849c8a1d32fb /libjava/gnu/java/net/protocol/gcjlib
parent04ec3d4712519e32f85c034ff4237fcd5f9fbe39 (diff)
downloadgcc-fd7635c7d81d8183300934f91b885ecca52dda9b.zip
gcc-fd7635c7d81d8183300934f91b885ecca52dda9b.tar.gz
gcc-fd7635c7d81d8183300934f91b885ecca52dda9b.tar.bz2
c++/modules: Handle reflection SPLICE_SCOPE tree node
This patch adds support for serializing and deserializing SPLICE_SCOPE trees in C++20 modules implementation. SPLICE_SCOPE is introduced by C++26 reflection, notably used for dependent splice types, thus needing to be exported/imported as part of the module interface. Not handling SPLICE_SCOPE leads to ICE. This patch also includes 2 simple test cases: one for exporting splice scope types and another for importing them. gcc/cp/ * module.cc (trees_out::type_node): Add case for SPLICE_SCOPE. (trees_in::tree_node): Add case for SPLICE_SCOPE. gcc/testsuite/ * g++.dg/modules/splice-scope-tree_a.C: New test. * g++.dg/modules/splice-scope-tree_b.C: New test. Reviewed-by: Patrick Palka <ppalka@redhat.com> Reviewed-by: Jason Merrill <jason@redhat.com>
Diffstat (limited to 'libjava/gnu/java/net/protocol/gcjlib')
0 files changed, 0 insertions, 0 deletions