Introduce class adl_func_operation
authorTom Tromey <tom@tromey.com>
Mon, 8 Mar 2021 14:27:57 +0000 (07:27 -0700)
committerTom Tromey <tom@tromey.com>
Mon, 8 Mar 2021 14:28:29 +0000 (07:28 -0700)
commite447908052f54164eec481d15a5274ddf385569d
tree869b45f3dba350e9a6097bac187c6ae9a77c46dc
parent95d49dfbba00253382d0f7ad0ea2052b2b7bc445
Introduce class adl_func_operation

This adds class adl_func_operation, which implements
argument-dependent lookup function calls.

Other function calls will be handled in a different way.  However,
because ADL calls were created in a single spot in the C++ parser, and
because they had different semantics from the other cases, it was
convenient to treat them specially.

gdb/ChangeLog
2021-03-08  Tom Tromey  <tom@tromey.com>

* expop.h (class adl_func_operation): New.
* eval.c (adl_func_operation::evaluate): New method.
gdb/ChangeLog
gdb/eval.c
gdb/expop.h
This page took 0.030765 seconds and 4 git commands to generate.