diff options
Diffstat (limited to 'gdb/c-exp.h')
-rw-r--r-- | gdb/c-exp.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/c-exp.h b/gdb/c-exp.h index 2d224c8..68efa62 100644 --- a/gdb/c-exp.h +++ b/gdb/c-exp.h @@ -27,6 +27,8 @@ extern struct value *eval_op_objc_selector (struct type *expect_type, struct expression *exp, enum noside noside, const char *sel); +extern struct value *opencl_value_cast (struct type *type, struct value *arg); + namespace expr { @@ -105,6 +107,9 @@ public: { return OP_OBJC_MSGCALL; } }; +using opencl_cast_type_operation = cxx_cast_operation<UNOP_CAST_TYPE, + opencl_value_cast>; + }/* namespace expr */ #endif /* C_EXP_H */ |