|
GDB (xrefs)
|
#include "expop.h"
Public Member Functions | |
| value * | evaluate (struct type *expect_type, struct expression *exp, enum noside noside) override |
| enum exp_opcode | opcode () const override |
| tuple_holding_operation (Arg... args) | |
Public Member Functions inherited from expr::tuple_holding_operation< int, int, std::vector< operation_up > > | |
| tuple_holding_operation (Arg... args) | |
| DISABLE_COPY_AND_ASSIGN (tuple_holding_operation) | |
| bool | uses_objfile (struct objfile *objfile) const override |
| void | dump (struct ui_file *stream, int depth) const override |
Public Member Functions inherited from expr::operation | |
| virtual | ~operation ()=default |
| virtual value * | evaluate (struct type *expect_type, struct expression *exp, enum noside noside)=0 |
| virtual value * | evaluate_with_coercion (struct expression *exp, enum noside noside) |
| virtual value * | evaluate_for_cast (struct type *expect_type, struct expression *exp, enum noside noside) |
| virtual value * | evaluate_for_sizeof (struct expression *exp, enum noside noside) |
| virtual value * | evaluate_for_address (struct expression *exp, enum noside noside) |
| virtual value * | evaluate_funcall (struct type *expect_type, struct expression *exp, enum noside noside, const std::vector< operation_up > &args) |
| virtual bool | constant_p () const |
| virtual bool | uses_objfile (struct objfile *objfile) const |
| void | generate_ax (struct expression *exp, struct agent_expr *ax, struct axs_value *value, struct type *cast_type=nullptr) |
| virtual enum exp_opcode | opcode () const =0 |
| virtual void | dump (struct ui_file *stream, int depth) const =0 |
| virtual void | set_outermost () |
Private Member Functions | |
| struct value * | evaluate_struct_tuple (struct value *struct_val, struct expression *exp, enum noside noside, int nargs) |
Additional Inherited Members | |
Protected Member Functions inherited from expr::operation | |
| operation ()=default | |
| DISABLE_COPY_AND_ASSIGN (operation) | |
| value * | evaluate_funcall (struct type *expect_type, struct expression *exp, enum noside noside, const char *function_name, const std::vector< operation_up > &args) |
| virtual void | do_generate_ax (struct expression *exp, struct agent_expr *ax, struct axs_value *value, struct type *cast_type) |
Protected Attributes inherited from expr::tuple_holding_operation< int, int, std::vector< operation_up > > | |
| std::tuple< Arg... > | m_storage |
|
overridevirtual |
Implements expr::operation.
Definition at line 2418 of file eval.c.
References allocate_value(), check_typedef(), type::code(), evaluate_struct_tuple(), expression::gdbarch, gdbarch_byte_order(), get_discrete_bounds(), type::index_type(), type::length(), expr::tuple_holding_operation< int, int, std::vector< operation_up > >::m_storage, type::target_type(), value_array(), value_as_long(), value_cast(), value_contents(), value_contents_raw(), and value_type().
|
private |
Definition at line 2356 of file eval.c.
References check_typedef(), type::code(), type::field(), field_is_static(), field::loc_bitpos(), expr::tuple_holding_operation< int, int, std::vector< operation_up > >::m_storage, modify_field(), field::name(), type::num_fields(), field::type(), TYPE_FIELD_BITSIZE, value_as_long(), value_cast(), value_contents(), value_contents_writeable(), and value_type().
Referenced by evaluate().
|
inlineoverridevirtual |
Implements expr::operation.
|
inlineexplicit |