Implement OpenCL logical binary operations
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)
commit944fd3b8126f27569a6a3552b3457ba8a8cc3f87
treeb222df7620e4a10d3f3577239297c75595d58d41
parent33b79214629c2b1b219e82bb34aed5fb03913634
Implement OpenCL logical binary operations

This implements "&&" and "||" for OpenCL.

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

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