aboutsummaryrefslogtreecommitdiff
path: root/libjava/classpath
diff options
context:
space:
mode:
authorNathaniel Shead <nathanieloshead@gmail.com>2025-04-11 07:09:33 +1000
committerNathaniel Shead <nathanieloshead@gmail.com>2025-04-13 20:33:37 +1000
commit714e9020becc260a05f17ae694a6bdde65d9c567 (patch)
treec7b62c45c12f515b2bcd46dca513c9af56f2d653 /libjava/classpath
parent171710bec51ebbe859bf3ff008e60dd018738026 (diff)
downloadgcc-714e9020becc260a05f17ae694a6bdde65d9c567.zip
gcc-714e9020becc260a05f17ae694a6bdde65d9c567.tar.gz
gcc-714e9020becc260a05f17ae694a6bdde65d9c567.tar.bz2
c++/modules: Give more specific diagnostics in is_matching_decl
This patch also rephrases the diagnostics to talk about "imported declarations" rather than "global module declarations", since as the FIXME noted we can also get mismatches with some declarations attached to modules. Ideally I'd like to revisit the way this is structured entirely but that won't be appropriate for GCC 15. gcc/cp/ChangeLog: * module.cc (trees_in::is_matching_decl): Add custom errors for different kinds of mismatches. gcc/testsuite/ChangeLog: * g++.dg/modules/lambda-8_b.C: Adjust error. * g++.dg/modules/leg-merge-4_c.C: Likewise. Signed-off-by: Nathaniel Shead <nathanieloshead@gmail.com>
Diffstat (limited to 'libjava/classpath')
0 files changed, 0 insertions, 0 deletions