GDB (xrefs)
|
Public Member Functions | |
cplus_language () | |
const char * | name () const override |
const char * | natural_name () const override |
const char * | get_digit_separator () const override |
const std::vector< const char * > & | filename_extensions () const override |
struct language_pass_by_ref_info | pass_by_reference_info (struct type *type) const override |
void | language_arch_info (struct gdbarch *gdbarch, struct language_arch_info *lai) const override |
struct type * | lookup_transparent_type (const char *name) const override |
std::unique_ptr< compile_instance > | get_compile_instance () const override |
std::string | compute_program (compile_instance *inst, const char *input, struct gdbarch *gdbarch, const struct block *expr_block, CORE_ADDR expr_pc) const override |
unsigned int | search_name_hash (const char *name) const override |
bool | sniff_from_mangled_name (const char *mangled, gdb::unique_xmalloc_ptr< char > *demangled) const override |
gdb::unique_xmalloc_ptr< char > | demangle_symbol (const char *mangled, int options) const override |
bool | can_print_type_offsets () const override |
void | print_type (struct type *type, const char *varstring, struct ui_file *stream, int show, int level, const struct type_print_options *flags) const override |
CORE_ADDR | skip_trampoline (const frame_info_ptr &fi, CORE_ADDR pc) const override |
char * | class_name_from_physname (const char *physname) const override |
struct block_symbol | lookup_symbol_nonlocal (const char *name, const struct block *block, const domain_enum domain) const override |
const char * | name_of_this () const override |
enum macro_expansion | macro_expansion () const override |
const struct lang_varobj_ops * | varobj_ops () const override |
![]() | |
language_defn (enum language lang) | |
virtual void | print_array_index (struct type *index_type, LONGEST index_value, struct ui_file *stream, const value_print_options *options) const |
virtual struct value * | read_var_value (struct symbol *var, const struct block *var_block, frame_info_ptr frame) const |
virtual bool | symbol_printing_suppressed (struct symbol *symbol) const |
virtual bool | iterate_over_symbols (const struct block *block, const lookup_name_info &name, domain_enum domain, gdb::function_view< symbol_found_callback_ftype > callback) const |
symbol_name_matcher_ftype * | get_symbol_name_matcher (const lookup_name_info &lookup_name) const |
virtual const char * | word_break_characters (void) const |
virtual void | collect_symbol_completion_matches (completion_tracker &tracker, complete_symbol_mode mode, symbol_name_match_type name_match_type, const char *text, const char *word, enum type_code code) const |
virtual gdb::unique_xmalloc_ptr< char > | watch_location_expression (struct type *type, CORE_ADDR addr) const |
virtual void | value_print (struct value *val, struct ui_file *stream, const struct value_print_options *options) const |
virtual void | value_print_inner (struct value *val, struct ui_file *stream, int recurse, const struct value_print_options *options) const |
virtual int | parser (struct parser_state *ps) const |
virtual void | emitchar (int ch, struct type *chtype, struct ui_file *stream, int quoter) const |
virtual void | printchar (int ch, struct type *chtype, struct ui_file *stream) const |
virtual void | printstr (struct ui_file *stream, struct type *elttype, const gdb_byte *string, unsigned int length, const char *encoding, int force_ellipses, const struct value_print_options *options) const |
virtual void | print_typedef (struct type *type, struct symbol *new_symbol, struct ui_file *stream) const |
virtual bool | is_string_type_p (struct type *type) const |
virtual bool | is_array_like (struct type *type) const |
virtual struct value * | to_array (struct value *val) const |
virtual const char * | struct_too_deep_ellipsis () const |
virtual bool | c_style_arrays_p () const |
virtual char | string_lower_bound () const |
virtual struct value * | value_string (struct gdbarch *gdbarch, const char *ptr, ssize_t len) const |
virtual bool | store_sym_names_in_linkage_form_p () const |
virtual bool | range_checking_on_by_default () const |
virtual enum case_sensitivity | case_sensitivity () const |
virtual enum array_ordering | array_ordering () const |
Protected Member Functions | |
symbol_name_matcher_ftype * | get_symbol_name_matcher_inner (const lookup_name_info &lookup_name) const override |
Additional Inherited Members | |
![]() | |
enum language | la_language |
![]() | |
static const struct language_defn * | languages [nr_languages] |
|
inlineoverridevirtual |
Reimplemented from language_defn.
|
inlineoverridevirtual |
Reimplemented from language_defn.
Definition at line 1008 of file c-lang.c.
References cp_class_name_from_physname().
|
inlineoverridevirtual |
Reimplemented from language_defn.
Definition at line 950 of file c-lang.c.
References cplus_compute_program().
|
inlineoverridevirtual |
Reimplemented from language_defn.
Definition at line 976 of file c-lang.c.
References gdb_demangle().
|
inlineoverridevirtual |
Reimplemented from language_defn.
|
inlineoverridevirtual |
Reimplemented from language_defn.
Definition at line 944 of file c-lang.c.
References cplus_get_compile_context().
|
inlineoverridevirtual |
Reimplemented from language_defn.
|
inlineoverrideprotectedvirtual |
Reimplemented from language_defn.
Definition at line 1041 of file c-lang.c.
References cp_get_symbol_name_matcher().
|
inlineoverridevirtual |
Implements language_defn.
Definition at line 897 of file c-lang.c.
References language_arch_info::add_primitive_type(), builtin_type::builtin_bool, builtin_type::builtin_char, builtin_type::builtin_char16, builtin_type::builtin_char32, builtin_type::builtin_complex, builtin_type::builtin_decdouble, builtin_type::builtin_decfloat, builtin_type::builtin_declong, builtin_type::builtin_double, builtin_type::builtin_double_complex, builtin_type::builtin_float, builtin_type::builtin_int, builtin_type::builtin_long, builtin_type::builtin_long_double, builtin_type::builtin_long_long, builtin_type::builtin_short, builtin_type::builtin_signed_char, builtin_type(), builtin_type::builtin_unsigned_char, builtin_type::builtin_unsigned_int, builtin_type::builtin_unsigned_long, builtin_type::builtin_unsigned_long_long, builtin_type::builtin_unsigned_short, builtin_type::builtin_void, builtin_type::builtin_wchar, language_arch_info::set_bool_type(), and language_arch_info::set_string_char_type().
|
inlineoverridevirtual |
Reimplemented from language_defn.
Definition at line 1015 of file c-lang.c.
References cp_lookup_symbol_nonlocal(), and name().
|
inlineoverridevirtual |
Reimplemented from language_defn.
Definition at line 938 of file c-lang.c.
References cp_lookup_transparent_type(), and name().
|
inlineoverridevirtual |
Reimplemented from language_defn.
Definition at line 1029 of file c-lang.c.
References macro_expansion_c.
|
inlineoverridevirtual |
Implements language_defn.
Definition at line 867 of file c-lang.c.
Referenced by gdb.printing.FlagEnumerationPrinter::__call__(), gdb.dap.varref.BaseReference::__init__(), gdb.disassembler.Disassembler::__init__(), gdb.printing.SubPrettyPrinter::__init__(), gdb.types.TypePrinter::__init__(), gdb.xmethod.XMethod::__init__(), gdb.xmethod.XMethodMatcher::__init__(), gdb.printing.PrettyPrinter::__init__(), lookup_symbol_nonlocal(), lookup_transparent_type(), search_name_hash(), and gdb.dap.varref.BaseReference::to_object().
|
inlineoverridevirtual |
Reimplemented from language_defn.
|
inlineoverridevirtual |
Implements language_defn.
|
inlineoverridevirtual |
Reimplemented from language_defn.
Definition at line 890 of file c-lang.c.
References cp_pass_by_reference().
|
inlineoverridevirtual |
Implements language_defn.
Definition at line 991 of file c-lang.c.
References c_print_type(), flags, and language_defn::la_language.
|
inlineoverridevirtual |
Reimplemented from language_defn.
Definition at line 960 of file c-lang.c.
References cp_search_name_hash(), and name().
|
inlineoverridevirtual |
Reimplemented from language_defn.
Definition at line 1000 of file c-lang.c.
References cplus_skip_trampoline().
|
inlineoverridevirtual |
Reimplemented from language_defn.
Definition at line 966 of file c-lang.c.
References gdb_demangle().
|
inlineoverridevirtual |
Reimplemented from language_defn.
Definition at line 1034 of file c-lang.c.
References cplus_varobj_ops.