GDB (xrefs)
|
Go to the source code of this file.
Classes | |
class | rust_language |
Functions | |
bool | rust_tuple_type_p (struct type *type) |
bool | rust_tuple_struct_type_p (struct type *type) |
std::string | rust_crate_for_block (const struct block *block) |
const char * | rust_last_path_segment (const char *path) |
struct type * | rust_slice_type (const char *name, struct type *elt_type, struct type *usize_type) |
std::string rust_crate_for_block | ( | const struct block * | block | ) |
Definition at line 59 of file rust-lang.c.
References block_scope(), and cp_find_first_component().
Referenced by rust_parser::crate_name().
const char * rust_last_path_segment | ( | const char * | path | ) |
Definition at line 47 of file rust-lang.c.
Referenced by expr::rust_struct_anon::evaluate(), expr::rust_structop::evaluate(), and quirk_rust_enum().
struct type * rust_slice_type | ( | const char * | name, |
struct type * | elt_type, | ||
struct type * | usize_type | ||
) |
Definition at line 1001 of file rust-lang.c.
References lookup_pointer_type(), name, and rust_composite_type().
Referenced by rust_language::language_arch_info(), rust_parser::parse_slice_type(), and rust_subscript().
bool rust_tuple_struct_type_p | ( | struct type * | type | ) |
Definition at line 149 of file rust-lang.c.
References type::num_fields(), and rust_underscore_fields().
Referenced by expr::rust_struct_anon::evaluate(), expr::rust_structop::evaluate(), rust_parser::parse_path_expr(), rust_parser::parse_struct_expr(), rust_language::print_enum(), rust_print_struct_def(), and rust_language::val_print_struct().
bool rust_tuple_type_p | ( | struct type * | type | ) |
Definition at line 109 of file rust-lang.c.
References type::code(), and type::name().
Referenced by expr::rust_structop::evaluate(), expr::rust_structop::evaluate_funcall(), rust_parser::parse_struct_expr(), rust_print_struct_def(), and rust_language::val_print_struct().