aboutsummaryrefslogtreecommitdiff
path: root/gdb/c-exp.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/c-exp.h')
-rw-r--r--gdb/c-exp.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/c-exp.h b/gdb/c-exp.h
index dc92e7a..1afe2d2 100644
--- a/gdb/c-exp.h
+++ b/gdb/c-exp.h
@@ -38,6 +38,11 @@ extern struct value *opencl_relop (struct type *expect_type,
struct expression *exp,
enum noside noside, enum exp_opcode op,
struct value *arg1, struct value *arg2);
+extern struct value *opencl_logical_not (struct type *expect_type,
+ struct expression *exp,
+ enum noside noside,
+ enum exp_opcode op,
+ struct value *arg);
namespace expr
{
@@ -162,6 +167,9 @@ using opencl_geq_operation = opencl_binop_operation<BINOP_GEQ,
using opencl_leq_operation = opencl_binop_operation<BINOP_LEQ,
opencl_relop>;
+using opencl_not_operation = unop_operation<UNOP_LOGICAL_NOT,
+ opencl_logical_not>;
+
}/* namespace expr */
#endif /* C_EXP_H */