Introduce opencl_structop_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:31 +0000 (07:28 -0700)
commit33b79214629c2b1b219e82bb34aed5fb03913634
tree940b3b0318b22aa9f19eaf1b5f3da9de3dacc368
parent2492ba36f690fa6ce584132dce3e2f26fbb89f87
Introduce opencl_structop_operation

This adds class opencl_structop_operation, which implements
STRUCTOP_STRUCT for OpenCL.

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

* opencl-lang.c (opencl_structop_operation::evaluate): New
method.
* c-exp.h (class opencl_structop_operation): New.
gdb/ChangeLog
gdb/c-exp.h
gdb/opencl-lang.c