Introduce opencl_cast_type_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:30 +0000 (07:28 -0700)
commite967770468cd029b0cf0da4099eea40106aa16a3
treee3c150b92e34cb2128be14653eede14e940a045b
parentf403a4e4a5d6413cf58f7a9ad004b1086fd2254a
Introduce opencl_cast_type_operation

This adds class opencl_cast_type_operation, which implements
UNOP_CAST_TYPE for OpenCL.

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

* opencl-lang.c (opencl_value_cast): No longer static.
* c-exp.h (opencl_cast_type_operation): New typedef.
gdb/ChangeLog
gdb/c-exp.h
gdb/opencl-lang.c