aboutsummaryrefslogtreecommitdiff
path: root/fixincludes/tests/base/objc/runtime.h
diff options
context:
space:
mode:
authorPatrick Palka <ppalka@redhat.com>2025-07-25 10:55:35 -0400
committerPatrick Palka <ppalka@redhat.com>2025-07-25 10:55:35 -0400
commitba5a6787374dea3e90f09771134d16b9f6d2714e (patch)
treec137f3970aa7b8ae019137c681bf48bbe6732984 /fixincludes/tests/base/objc/runtime.h
parentcebf2a85d2de9aea3fa8ba0d8dc45945e56f0eb9 (diff)
downloadgcc-master.zip
gcc-master.tar.gz
gcc-master.tar.bz2
c++: more name lookup for non-dep rewritten cmp opsHEADtrunkmaster
As a follow-up to r16-2448-g7590c14b53a762, this patch attempts to teach build_min_non_dep_op_overload how to rebuild all rewritten comparison operators, not just != -> == ones, so that we don't incorrectly repeat the unqualified name lookup at instantiation time. Note that changes how we mangle such comparison ops, in a way that is overall more consistent with how we've been mangling non-rewritten operators, see PR c++/121239. gcc/cp/ChangeLog: * call.cc (build_new_op): If the selected candidate is rewritten, communicate the LOOKUP_REWRITTEN/REVERSED flags to the caller via the 'overload' out-parameter, and stop clearing '*overload' in that case. * tree.cc (build_min_non_dep_op_overload): Handle rebuilding all C++20 rewritten comparison operator expressions. gcc/testsuite/ChangeLog: * g++.dg/lookup/operator-8.C: Remove XFAILs and properly suppress all -Wunused-result warnings. Reviewed-by: Jason Merrill <jason@redhat.com>
Diffstat (limited to 'fixincludes/tests/base/objc/runtime.h')
0 files changed, 0 insertions, 0 deletions