Introduce ada_unop_range_operation

This adds class ada_unop_range_operation, which implements
UNOP_IN_RANGE.

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

	* ada-lang.c (ada_unop_in_range): No longer static.
	* ada-exp.h (class ada_unop_range_operation): New.
This commit is contained in:
Tom Tromey
2021-03-08 07:27:57 -07:00
parent 7c15d377de
commit 95d49dfbba
3 changed files with 31 additions and 1 deletions

View File

@@ -9978,7 +9978,7 @@ ada_unop_neg (struct type *expect_type,
/* A helper function for UNOP_IN_RANGE. */
static value *
value *
ada_unop_in_range (struct type *expect_type,
struct expression *exp,
enum noside noside, enum exp_opcode op,