mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-04 22:15:12 +08:00
Introduce ada_qual_operation
This adds class ada_qual_operation, which implements UNOP_QUAL. gdb/ChangeLog 2021-03-08 Tom Tromey <tom@tromey.com> * ada-lang.c (ada_qual_operation::evaluate): New method. * ada-exp.h (class ada_qual_operation): New.
This commit is contained in:
@ -10427,6 +10427,15 @@ ada_string_operation::evaluate (struct type *expect_type,
|
||||
return result;
|
||||
}
|
||||
|
||||
value *
|
||||
ada_qual_operation::evaluate (struct type *expect_type,
|
||||
struct expression *exp,
|
||||
enum noside noside)
|
||||
{
|
||||
struct type *type = std::get<1> (m_storage);
|
||||
return std::get<0> (m_storage)->evaluate (type, exp, noside);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/* Implement the evaluate_exp routine in the exp_descriptor structure
|
||||
|
Reference in New Issue
Block a user