GDB (xrefs)
|
#include "type-stack.h"
Public Member Functions | |
type_stack ()=default | |
DISABLE_COPY_AND_ASSIGN (type_stack) | |
type_stack * | create () |
void | insert (enum type_pieces tp) |
void | push (enum type_pieces tp) |
void | push (int n) |
void | push (struct type_stack *stack) |
void | push (std::vector< struct type * > *list) |
enum type_pieces | pop () |
int | pop_int () |
std::vector< struct type * > * | pop_typelist () |
struct type_stack * | pop_type_stack () |
void | insert (struct expr_builder *pstate, const char *string) |
struct type_stack * | append (struct type_stack *from) |
type_instance_flags | follow_type_instance_flags () |
struct type * | follow_types (struct type *follow_type) |
Private Member Functions | |
void | insert_into (int slot, union type_stack_elt element) |
Private Attributes | |
std::vector< union type_stack_elt > | m_elements |
Definition at line 60 of file type-stack.h.
|
default |
Referenced by create().
|
inline |
Definition at line 171 of file type-stack.h.
References insert(), and m_elements.
|
inline |
Definition at line 68 of file type-stack.h.
References m_elements, and type_stack().
Referenced by yyparse().
type_stack::DISABLE_COPY_AND_ASSIGN | ( | type_stack | ) |
type_instance_flags type_stack::follow_type_instance_flags | ( | ) |
Definition at line 79 of file type-stack.c.
References flags, pop(), tp_atomic, tp_const, tp_end, tp_restrict, tp_volatile, TYPE_INSTANCE_FLAG_ATOMIC, TYPE_INSTANCE_FLAG_CONST, TYPE_INSTANCE_FLAG_RESTRICT, and TYPE_INSTANCE_FLAG_VOLATILE.
Referenced by yyparse().
Definition at line 108 of file type-stack.c.
References type::bounds(), follow_types(), range_bounds::high, lookup_array_range_type(), lookup_function_type(), lookup_function_type_with_arguments(), lookup_lvalue_reference_type(), lookup_pointer_type(), lookup_rvalue_reference_type(), make_atomic_type(), make_cv_type(), make_restrict_type(), make_type_with_address_space(), pop(), pop_int(), pop_type_stack(), pop_typelist(), dynamic_prop::set_undefined(), tp_array, tp_atomic, tp_const, tp_end, tp_function, tp_function_with_arguments, tp_pointer, tp_reference, tp_restrict, tp_rvalue_reference, tp_space_identifier, tp_type_stack, tp_volatile, TYPE_CONST, and TYPE_VOLATILE.
Referenced by follow_types(), and yyparse().
void type_stack::insert | ( | enum type_pieces | tp | ) |
Definition at line 29 of file type-stack.c.
References insert_into(), m_elements, type_stack_elt::piece, tp_atomic, tp_const, tp_pointer, tp_reference, tp_restrict, tp_rvalue_reference, and tp_volatile.
void type_stack::insert | ( | struct expr_builder * | pstate, |
const char * | string ) |
Definition at line 55 of file type-stack.c.
References address_space_name_to_type_instance_flags(), expr_builder::gdbarch(), insert_into(), type_stack_elt::int_val, m_elements, type_stack_elt::piece, pstate, and tp_space_identifier.
|
inlineprivate |
Definition at line 195 of file type-stack.h.
References m_elements.
|
inline |
Definition at line 119 of file type-stack.h.
References m_elements, type_stack_elt::piece, and tp_end.
Referenced by follow_type_instance_flags(), follow_types(), and yyparse().
|
inline |
Definition at line 128 of file type-stack.h.
References type_stack_elt::int_val, and m_elements.
Referenced by follow_types(), and yyparse().
|
inline |
Definition at line 150 of file type-stack.h.
References m_elements, and type_stack_elt::stack_val.
Referenced by follow_types().
|
inline |
Definition at line 140 of file type-stack.h.
References m_elements, and type_stack_elt::typelist_val.
Referenced by follow_types().
|
inline |
Definition at line 83 of file type-stack.h.
References m_elements, and type_stack_elt::piece.
Referenced by push(), push(), push_kind_type(), and yyparse().
|
inline |
Definition at line 90 of file type-stack.h.
References type_stack_elt::int_val, and m_elements.
|
inline |
Definition at line 111 of file type-stack.h.
References m_elements, push(), tp_function_with_arguments, and type_stack_elt::typelist_val.
|
inline |
Definition at line 99 of file type-stack.h.
References m_elements, push(), type_stack_elt::stack_val, and tp_type_stack.
|
private |
Definition at line 203 of file type-stack.h.
Referenced by append(), create(), insert(), insert(), insert_into(), pop(), pop_int(), pop_type_stack(), pop_typelist(), push(), push(), push(), and push().