GDB (xrefs)
|
#include "defs.h"
#include <ctype.h>
#include "expression.h"
#include "value.h"
#include "parser-defs.h"
#include "language.h"
#include "c-lang.h"
#include "c-support.h"
#include "charset.h"
#include "block.h"
#include "cp-support.h"
#include "macroscope.h"
#include "objc-lang.h"
#include "typeprint.h"
#include "cp-abi.h"
#include "type-stack.h"
#include "target-float.h"
#include "c-exp.h"
#include "yy-remap.h"
#include <limits.h>
Go to the source code of this file.
Classes | |
struct | c_parse_state |
union | c_exp_YYSTYPE |
union | c_exp_yyalloc |
struct | c_token |
struct | c_token_and_value |
Macros | |
#define | YYBISON 30802 |
#define | YYBISON_VERSION "3.8.2" |
#define | YYSKELETON_NAME "yacc.c" |
#define | YYPURE 0 |
#define | YYPUSH 0 |
#define | YYPULL 1 |
#define | parse_type(ps) builtin_type (ps->gdbarch ()) |
#define | GDB_YY_REMAP_PREFIX c_ |
#define | YY_CAST(Type, Val) ((Type) (Val)) |
#define | YY_REINTERPRET_CAST(Type, Val) ((Type) (Val)) |
#define | YY_NULLPTRPTR ((void*)0) |
#define | YYTOKENTYPE |
#define | YYEMPTY -2 |
#define | YYEOF 0 |
#define | YYerror 256 |
#define | YYUNDEF 257 |
#define | INT 258 |
#define | COMPLEX_INT 259 |
#define | FLOAT 260 |
#define | COMPLEX_FLOAT 261 |
#define | STRING 262 |
#define | NSSTRING 263 |
#define | SELECTOR 264 |
#define | CHAR 265 |
#define | NAME 266 |
#define | UNKNOWN_CPP_NAME 267 |
#define | COMPLETE 268 |
#define | TYPENAME 269 |
#define | CLASSNAME 270 |
#define | OBJC_LBRAC 271 |
#define | NAME_OR_INT 272 |
#define | OPERATOR 273 |
#define | STRUCT 274 |
#define | CLASS 275 |
#define | UNION 276 |
#define | ENUM 277 |
#define | SIZEOF 278 |
#define | ALIGNOF 279 |
#define | UNSIGNED 280 |
#define | COLONCOLON 281 |
#define | TEMPLATE 282 |
#define | ERROR 283 |
#define | NEW 284 |
#define | DELETE 285 |
#define | REINTERPRET_CAST 286 |
#define | DYNAMIC_CAST 287 |
#define | STATIC_CAST 288 |
#define | CONST_CAST 289 |
#define | ENTRY 290 |
#define | TYPEOF 291 |
#define | DECLTYPE 292 |
#define | TYPEID 293 |
#define | SIGNED_KEYWORD 294 |
#define | LONG 295 |
#define | SHORT 296 |
#define | INT_KEYWORD 297 |
#define | CONST_KEYWORD 298 |
#define | VOLATILE_KEYWORD 299 |
#define | DOUBLE_KEYWORD 300 |
#define | RESTRICT 301 |
#define | ATOMIC 302 |
#define | FLOAT_KEYWORD 303 |
#define | COMPLEX 304 |
#define | DOLLAR_VARIABLE 305 |
#define | ASSIGN_MODIFY 306 |
#define | TRUEKEYWORD 307 |
#define | FALSEKEYWORD 308 |
#define | ABOVE_COMMA 309 |
#define | OROR 310 |
#define | ANDAND 311 |
#define | EQUAL 312 |
#define | NOTEQUAL 313 |
#define | LEQ 314 |
#define | GEQ 315 |
#define | LSH 316 |
#define | RSH 317 |
#define | UNARY 318 |
#define | INCREMENT 319 |
#define | DECREMENT 320 |
#define | ARROW 321 |
#define | ARROW_STAR 322 |
#define | DOT_STAR 323 |
#define | BLOCKNAME 324 |
#define | FILENAME 325 |
#define | DOTDOTDOT 326 |
#define | c_exp_YYSTYPE_IS_TRIVIAL 1 |
#define | c_exp_YYSTYPE_IS_DECLARED 1 |
#define | YYPTRDIFF_T long |
#define | YYPTRDIFF_MAXIMUM LONG_MAX |
#define | YYSIZE_T unsigned |
#define | YYSIZE_MAXIMUM |
#define | YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X)) |
#define | YY_(Msgid) Msgid |
#define | YY_ATTRIBUTE_PURE |
#define | YY_ATTRIBUTE_UNUSED |
#define | YY_USE(E) ((void) (E)) |
#define | YY_INITIAL_VALUE(Value) Value |
#define | YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN |
#define | YY_IGNORE_MAYBE_UNINITIALIZED_END |
#define | YY_IGNORE_USELESS_CAST_BEGIN |
#define | YY_IGNORE_USELESS_CAST_END |
#define | YY_ASSERT(E) ((void) (0 && (E))) |
#define | YYSTACK_ALLOC YYMALLOC |
#define | YYSTACK_FREE YYFREE |
#define | YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
#define | YYMALLOC xmalloc |
#define | YYFREE xfree |
#define | YYSTACK_GAP_MAXIMUM (YYSIZEOF (union c_exp_yyalloc) - 1) |
#define | YYSTACK_BYTES(N) |
#define | YYCOPY_NEEDED 1 |
#define | YYSTACK_RELOCATE(Stack_alloc, Stack) |
#define | YYCOPY(Dst, Src, Count) |
#define | YYFINAL 177 |
#define | YYLAST 1742 |
#define | YYNTOKENS 96 |
#define | YYNNTS 50 |
#define | YYNRULES 285 |
#define | YYNSTATES 442 |
#define | YYMAXUTOK 326 |
#define | YYTRANSLATE(YYX) |
#define | YY_ACCESSING_SYMBOL(State) YY_CAST (c_exp_yysymbol_kind_t, yystos[State]) |
#define | YYPACT_NINF (-225) |
#define | yypact_value_is_default(Yyn) ((Yyn) == YYPACT_NINF) |
#define | YYTABLE_NINF (-128) |
#define | yytable_value_is_error(Yyn) 0 |
#define | yyerrok (yyerrstatus = 0) |
#define | yyclearin (yychar = YYEMPTY) |
#define | YYACCEPT goto yyacceptlab |
#define | YYABORT goto yyabortlab |
#define | YYERROR goto yyerrorlab |
#define | YYNOMEM goto yyexhaustedlab |
#define | YYRECOVERING() (!!yyerrstatus) |
#define | YYBACKUP(Token, Value) |
#define | YYERRCODE YYUNDEF |
#define | YYDPRINTF(Args) |
#define | YY_SYMBOL_PRINT(Title, Kind, Value, Location) |
#define | YY_STACK_PRINT(Bottom, Top) |
#define | YY_REDUCE_PRINT(Rule) |
#define | YYINITDEPTH 200 |
#define | YYMAXDEPTH 10000 |
#define | YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N)) |
Typedefs | |
typedef enum yytokentype | yytoken_kind_t |
typedef union c_exp_YYSTYPE | c_exp_YYSTYPE |
typedef enum c_exp_yysymbol_kind_t | c_exp_yysymbol_kind_t |
typedef signed char | yytype_int8 |
typedef short | yytype_int16 |
typedef unsigned char | yytype_uint8 |
typedef unsigned short | yytype_uint16 |
typedef yytype_int16 | yy_state_t |
typedef int | yy_state_fast_t |
Functions | |
int | yyparse (void) |
static int | yylex (void) |
static void | yyerror (const char *) |
static int | type_aggregate_p (struct type *) |
static int | parse_number (struct parser_state *par_state, const char *, int, int, c_exp_YYSTYPE *) |
static struct stoken | operator_stoken (const char *) |
static struct stoken | typename_stoken (const char *) |
static void | check_parameter_typelist (std::vector< struct type * > *) |
void * | xmalloc (YYSIZE_T) |
void | xfree (void *) |
static const char * | yysymbol_name (c_exp_yysymbol_kind_t yysymbol) YY_ATTRIBUTE_UNUSED |
static void | yy_symbol_value_print (FILE *yyo, c_exp_yysymbol_kind_t yykind, c_exp_YYSTYPE const *const yyvaluep) |
static void | yy_symbol_print (FILE *yyo, c_exp_yysymbol_kind_t yykind, c_exp_YYSTYPE const *const yyvaluep) |
static void | yy_stack_print (yy_state_t *yybottom, yy_state_t *yytop) |
static void | yy_reduce_print (yy_state_t *yyssp, c_exp_YYSTYPE *yyvsp, int yyrule) |
static void | yydestruct (const char *yymsg, c_exp_yysymbol_kind_t yykind, c_exp_YYSTYPE *yyvaluep) |
int | c_parse_escape (const char **ptr, struct obstack *output) |
static int | parse_string_or_char (const char *tokptr, const char **outptr, struct typed_stoken *value, int *host_chars) |
DEF_ENUM_FLAGS_TYPE (enum token_flag, token_flags) | |
static void | scan_macro_expansion (const char *expansion) |
static int | scanning_macro_expansion (void) |
static void | finished_macro_expansion (void) |
static int | is_cast_operator (const char *token, int len) |
static int | lex_one_token (struct parser_state *par_state, bool *is_quoted_name) |
static int | classify_name (struct parser_state *par_state, const struct block *block, bool is_quoted_name, bool is_after_structop) |
static int | classify_inner_name (struct parser_state *par_state, const struct block *block, struct type *context) |
int | c_parse (struct parser_state *par_state) |
Variables | |
static struct parser_state * | pstate = NULL |
static struct c_parse_state * | cpstate |
int | yydebug |
c_exp_YYSTYPE | yylval |
static const yytype_int8 | yytranslate [] |
static const yytype_int16 | yyrline [] |
static const char *const | yytname [] |
static const yytype_int16 | yypact [] |
static const yytype_int16 | yydefact [] |
static const yytype_int16 | yypgoto [] |
static const yytype_int16 | yydefgoto [] |
static const yytype_int16 | yytable [] |
static const yytype_int16 | yycheck [] |
static const yytype_uint8 | yystos [] |
static const yytype_uint8 | yyr1 [] |
static const yytype_int8 | yyr2 [] |
int | yychar |
int | yynerrs |
static struct obstack | tempbuf |
static int | tempbuf_init |
static const struct c_token | tokentab3 [] |
static const struct c_token | tokentab2 [] |
static const struct c_token | ident_tokens [] |
static struct macro_scope * | expression_macro_scope |
static int | saw_name_at_eof |
static bool | last_was_structop |
static int | paren_depth |
static std::vector< c_token_and_value > | token_fifo |
static int | popping |
static auto_obstack | name_obstack |
#define ARROW 321 |
Definition at line 342 of file c-exp.c.
Referenced by lex_one_token().
#define BLOCKNAME 324 |
Definition at line 345 of file c-exp.c.
Referenced by classify_name().
#define CHAR 265 |
Definition at line 286 of file c-exp.c.
Referenced by lex_one_token(), and parse_string_or_char().
#define CLASSNAME 270 |
Definition at line 291 of file c-exp.c.
Referenced by classify_name().
#define COMPLETE 268 |
Definition at line 289 of file c-exp.c.
Referenced by lex_one_token().
#define COMPLEX_FLOAT 261 |
Definition at line 282 of file c-exp.c.
Referenced by parse_number().
#define COMPLEX_INT 259 |
Definition at line 280 of file c-exp.c.
Referenced by parse_number().
#define DOLLAR_VARIABLE 305 |
Definition at line 326 of file c-exp.c.
Referenced by lex_one_token().
#define ENTRY 290 |
Definition at line 311 of file c-exp.c.
Referenced by lex_one_token().
#define ERROR 283 |
Definition at line 304 of file c-exp.c.
Referenced by classify_inner_name(), lex_one_token(), and parse_number().
#define FILENAME 325 |
Definition at line 346 of file c-exp.c.
Referenced by classify_name(), and yylex().
#define FLOAT 260 |
Definition at line 281 of file c-exp.c.
Referenced by parse_number().
#define INT 258 |
Definition at line 279 of file c-exp.c.
Referenced by classify_name(), and parse_number().
#define NAME 266 |
Definition at line 287 of file c-exp.c.
Referenced by classify_inner_name(), classify_name(), lex_one_token(), and yylex().
#define NAME_OR_INT 272 |
Definition at line 293 of file c-exp.c.
Referenced by classify_name().
#define NSSTRING 263 |
Definition at line 284 of file c-exp.c.
Referenced by parse_string_or_char().
#define OBJC_LBRAC 271 |
Definition at line 292 of file c-exp.c.
Referenced by lex_one_token().
#define parse_type | ( | ps | ) | builtin_type (ps->gdbarch ()) |
Definition at line 92 of file c-exp.c.
Referenced by parse_number(), and yyparse().
#define SELECTOR 264 |
Definition at line 285 of file c-exp.c.
Referenced by lex_one_token().
#define SHORT 296 |
Definition at line 317 of file c-exp.c.
Referenced by gdb_console_fputs().
#define STRING 262 |
Definition at line 283 of file c-exp.c.
Referenced by parse_string_or_char().
#define TYPENAME 269 |
Definition at line 290 of file c-exp.c.
Referenced by classify_inner_name(), classify_name(), and yylex().
#define UNKNOWN_CPP_NAME 267 |
Definition at line 288 of file c-exp.c.
Referenced by classify_name().
#define YY_ACCESSING_SYMBOL | ( | State | ) | YY_CAST (c_exp_yysymbol_kind_t, yystos[State]) |
Accessing symbol of state STATE.
Definition at line 987 of file c-exp.c.
Referenced by yy_reduce_print(), and yyparse().
#define YY_ASSERT | ( | E | ) | ((void) (0 && (E))) |
#define YY_CAST | ( | Type, | |
Val ) ((Type) (Val)) |
#define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN |
Definition at line 738 of file c-exp.c.
Referenced by yy_symbol_value_print(), yydestruct(), and yyparse().
#define YY_IGNORE_MAYBE_UNINITIALIZED_END |
Definition at line 739 of file c-exp.c.
Referenced by yy_symbol_value_print(), yydestruct(), and yyparse().
#define YY_IGNORE_USELESS_CAST_BEGIN |
#define YY_REDUCE_PRINT | ( | Rule | ) |
#define YY_STACK_PRINT | ( | Bottom, | |
Top ) |
#define YY_SYMBOL_PRINT | ( | Title, | |
Kind, | |||
Value, | |||
Location ) |
Definition at line 1700 of file c-exp.c.
Referenced by yydestruct(), and yyparse().
#define YY_USE | ( | E | ) | ((void) (E)) |
Definition at line 715 of file c-exp.c.
Referenced by yy_symbol_value_print(), and yydestruct().
#define YYBACKUP | ( | Token, | |
Value ) |
#define YYCOPY | ( | Dst, | |
Src, | |||
Count ) |
#define YYDPRINTF | ( | Args | ) |
#define YYNOMEM goto yyexhaustedlab |
#define YYNTOKENS 96 |
Definition at line 892 of file c-exp.c.
Referenced by yy_symbol_print(), and yyparse().
#define yypact_value_is_default | ( | Yyn | ) | ((Yyn) == YYPACT_NINF) |
#define YYSIZE_MAXIMUM |
#define YYSIZEOF | ( | X | ) | YY_CAST (YYPTRDIFF_T, sizeof (X)) |
#define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
#define YYSTACK_BYTES | ( | N | ) |
#define YYSTACK_GAP_MAXIMUM (YYSIZEOF (union c_exp_yyalloc) - 1) |
#define YYSTACK_RELOCATE | ( | Stack_alloc, | |
Stack ) |
Definition at line 853 of file c-exp.c.
Referenced by yyparse().
#define yytable_value_is_error | ( | Yyn | ) | 0 |
#define YYTRANSLATE | ( | YYX | ) |
typedef enum c_exp_yysymbol_kind_t c_exp_yysymbol_kind_t |
typedef int yy_state_fast_t |
typedef yytype_int16 yy_state_t |
typedef enum yytokentype yytoken_kind_t |
typedef short yytype_int16 |
typedef signed char yytype_int8 |
typedef unsigned short yytype_uint16 |
typedef unsigned char yytype_uint8 |
enum token_flag |
enum yytokentype |
int c_parse | ( | struct parser_state * | par_state | ) |
Definition at line 6061 of file c-exp.c.
References cpstate, parser_state::debug, default_macro_scope(), parser_state::expression_context_block, parser_state::expression_context_pc, expression_macro_scope, find_pc_line(), last_was_structop, name_obstack, paren_depth, parser_state::pop(), popping, pstate, sal_macro_scope(), saw_name_at_eof, expr_builder::set_operation(), token_fifo, user_macro_scope(), yydebug, and yyparse().
Referenced by language_defn::parser().
int c_parse_escape | ( | const char ** | ptr, |
struct obstack * | output ) |
Definition at line 4852 of file c-exp.c.
References HOST_ESCAPE_CHAR.
Referenced by get_character_constant(), get_string_literal(), parse_string_or_char(), parse_string_or_char(), and parse_string_or_char().
|
static |
|
static |
Definition at line 5834 of file c-exp.c.
References symbol::aclass(), check_typedef(), classify_name(), copy_name(), cp_find_type_baseclass_by_name(), cp_lookup_nested_symbol(), ERROR, LOC_BLOCK, LOC_LABEL, LOC_TYPEDEF, NAME, c_exp_YYSTYPE::ssym, symtoken::stoken, symtoken::sym, block_symbol::symbol, c_exp_YYSTYPE::tsym, type, ttype::type, symbol::type(), type_aggregate_p(), TYPENAME, VAR_DOMAIN, and yylval.
Referenced by yylex().
|
static |
Definition at line 5707 of file c-exp.c.
References symbol::aclass(), BLOCKNAME, compunit_symtab::blockvector(), c_exp_YYSTYPE::bval, CLASSNAME, symtab::compunit(), copy_name(), parser_state::expression_context_block, FILENAME, field_of_this_result::fn_field, fn_fieldlist::fn_fields, expr_builder::gdbarch(), input_radix, INT, symtoken::is_a_field_of_this, language_defn::la_language, expr_builder::language(), language_cplus, language_objc, stoken::length, LOC_BLOCK, LOC_TYPEDEF, lookup_minimal_symbol(), lookup_objc_class(), lookup_struct_typedef(), lookup_symbol(), lookup_symtab(), bound_minimal_symbol::minsym, NAME, language_defn::name_of_this(), NAME_OR_INT, parse_number(), c_exp_YYSTYPE::ssym, blockvector::static_block(), STRUCT_DOMAIN, c_exp_YYSTYPE::sval, symtoken::sym, block_symbol::symbol, c_exp_YYSTYPE::theclass, objc_class_str::theclass, c_exp_YYSTYPE::tsym, ttype::type, objc_class_str::type, symbol::type(), field_of_this_result::type, TYPE_FN_FIELD_CONSTRUCTOR, TYPENAME, UNKNOWN_CPP_NAME, VAR_DOMAIN, and yylval.
Referenced by classify_inner_name(), and yylex().
DEF_ENUM_FLAGS_TYPE | ( | enum | token_flag, |
token_flags | ) |
|
static |
Definition at line 5257 of file c-exp.c.
References cpstate, parser_state::lexptr, c_parse_state::macro_original_text, and pstate.
Referenced by lex_one_token().
|
static |
|
static |
Definition at line 5296 of file c-exp.c.
References ARROW, block_symbol::block, c_ident_is_alnum(), c_ident_is_alpha(), CHAR, parser_state::comma_terminates, COMPLETE, copy_name(), DOLLAR_VARIABLE, ENTRY, ERROR, parser_state::expression_context_block, expression_macro_scope, find_template_name_end(), finished_macro_expansion(), FLAG_C, FLAG_CXX, FLAG_SHADOW, ident_tokens, input_radix, symtoken::is_a_field_of_this, is_cast_operator(), language_defn::la_language, expr_builder::language(), language_c, language_cplus, language_objc, last_was_structop, stoken::length, parser_state::lexptr, lookup_symbol(), macro_expand_next(), NAME, OBJC_LBRAC, c_exp_YYSTYPE::opcode, paren_depth, parser_state::parse_completion, parse_number(), parse_string_or_char(), parser_state::prev_lexptr, pstate, stoken::ptr, saw_name_at_eof, scan_macro_expansion(), scanning_macro_expansion(), SELECTOR, c_exp_YYSTYPE::ssym, symtoken::stoken, c_exp_YYSTYPE::sval, symtoken::sym, block_symbol::symbol, token, tokentab2, tokentab3, c_exp_YYSTYPE::tsval, VAR_DOMAIN, and yylval.
Referenced by yylex().
|
static |
Definition at line 4529 of file c-exp.c.
References CP_OPERATOR_LEN, CP_OPERATOR_STR, cpstate, stoken::length, stoken::ptr, c_parse_state::strings, and xmalloc().
Referenced by yyparse().
|
static |
Definition at line 4602 of file c-exp.c.
References COMPLEX_FLOAT, COMPLEX_INT, ERROR, fits_in_type(), FLOAT, expr_builder::gdbarch(), gdbarch_int_bit(), gdbarch_long_bit(), gdbarch_long_long_bit(), init_complex_type(), input_radix, INT, parse_float(), parse_type, c_exp_YYSTYPE::type, c_exp_YYSTYPE::typed_val_float, c_exp_YYSTYPE::typed_val_int, and c_exp_YYSTYPE::val.
Referenced by classify_name(), lex_one_token(), and yyparse().
|
static |
Definition at line 5014 of file c-exp.c.
References C_CHAR, c_parse_escape(), C_STRING, C_STRING_16, C_STRING_32, C_WIDE_STRING, CHAR, NSSTRING, STRING, tempbuf, tempbuf_init, type, and value::type().
Referenced by lex_one_token().
|
static |
Definition at line 5236 of file c-exp.c.
References cpstate, c_parse_state::expansion_obstack, parser_state::lexptr, c_parse_state::macro_original_text, and pstate.
Referenced by lex_one_token().
|
static |
Definition at line 5251 of file c-exp.c.
References cpstate, and c_parse_state::macro_original_text.
Referenced by lex_one_token().
|
static |
Definition at line 4558 of file c-exp.c.
References type::code(), and type::is_declared_class().
Referenced by classify_inner_name(), and yyparse().
|
static |
Definition at line 4548 of file c-exp.c.
References stoken::length, and type.
Referenced by yyparse().
void xfree | ( | void * | ) |
Referenced by yyparse().
void * xmalloc | ( | YYSIZE_T | ) |
Referenced by operator_stoken(), and yyparse().
|
static |
Definition at line 1774 of file c-exp.c.
References YY_ACCESSING_SYMBOL, yy_symbol_print(), YYFPRINTF, yyr2, yyrline, yyrule, yyssp, and yyvsp.
|
static |
|
static |
Definition at line 1735 of file c-exp.c.
References yy_symbol_value_print(), YYFPRINTF, YYNTOKENS, and yysymbol_name().
Referenced by yy_reduce_print().
|
static |
Definition at line 1717 of file c-exp.c.
References YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN, YY_IGNORE_MAYBE_UNINITIALIZED_END, and YY_USE.
Referenced by yy_symbol_print().
|
static |
Definition at line 1836 of file c-exp.c.
References YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN, YY_IGNORE_MAYBE_UNINITIALIZED_END, YY_SYMBOL_PRINT, and YY_USE.
Referenced by yyparse().
|
static |
Definition at line 6162 of file c-exp.c.
References parser_state::lexptr, parser_state::prev_lexptr, and pstate.
|
static |
Definition at line 5910 of file c-exp.c.
References c_exp_YYSTYPE::bval, classify_inner_name(), classify_name(), COLONCOLON, cpstate, c_parse_state::expansion_obstack, parser_state::expression_context_block, FILENAME, language_defn::la_language, expr_builder::language(), language_cplus, last_was_structop, stoken::length, lex_one_token(), NAME, name_obstack, popping, pstate, stoken::ptr, c_exp_YYSTYPE::sval, c_token_and_value::token, token_fifo, c_exp_YYSTYPE::tsym, ttype::type, TYPENAME, c_token_and_value::value, and yylval.
Referenced by yyparse().
int yyparse | ( | void | ) |
Definition at line 1866 of file c-exp.c.
References symbol::aclass(), add_msglist(), parser_state::arglist_len, parser_state::block_tracker, c_print_type(), C_STRING, C_STRING_16, C_STRING_32, C_WIDE_STRING, check_parameter_typelist(), check_typedef(), copy_name(), cp_canonicalize_string(), cpstate, type_stack::create(), destructor_name_p(), parser_state::end_arglist(), end_msglist(), parser_state::expression_context_block, find_function_alias_target(), find_gnu_ifunc(), flags, type_stack::follow_type_instance_flags(), type_stack::follow_types(), expr_builder::gdbarch(), have_full_symbols(), have_partial_symbols(), init_complex_type(), type_stack::insert(), symbol::is_argument(), language_defn::la_language, expr_builder::language(), language_opencl, stoken_vector::len, type::length(), stoken::length, typed_stoken::length, LOC_BLOCK, lookup_bound_minimal_symbol(), lookup_enum(), lookup_objc_class(), lookup_signed_typename(), lookup_struct(), lookup_symbol(), lookup_template_type(), lookup_typename(), lookup_union(), lookup_unsigned_typename(), parser_state::mark_completion_tag(), parser_state::mark_struct_expression(), bound_minimal_symbol::minsym, mst_data_gnu_ifunc, mst_text_gnu_ifunc, name, type::name(), operator_stoken(), parse_number(), parse_type, parser_state::pop(), parser_state::pop_vector(), pstate, stoken::ptr, typed_stoken::ptr, type_stack::push(), parser_state::push(), parser_state::push_c_string(), parser_state::push_dollar(), parser_state::push_new(), parser_state::push_symbol(), string_file::release(), parser_state::start_arglist(), start_msglist(), symbol::symbol(), block_symbol::symbol, symbol_read_needs_frame(), target_float_from_host_double(), type::target_type(), stoken_vector::tokens, tp_array, tp_atomic, tp_const, tp_pointer, tp_reference, tp_restrict, tp_rvalue_reference, tp_volatile, c_exp_YYSTYPE::type, type, typed_stoken::type, minimal_symbol::type(), field_of_this_result::type, type_aggregate_p(), TYPE_IS_REFERENCE, c_parse_state::type_lists, type_print_raw_options, TYPE_SAFE_NAME, c_parse_state::type_stack, c_parse_state::type_stacks, c_exp_YYSTYPE::typed_val_int, typename_stoken(), innermost_block_tracker::update(), c_exp_YYSTYPE::val, symbol::value_block(), VAR_DOMAIN, parser_state::wrap(), parser_state::wrap2(), xfree(), xmalloc(), YY_, YY_ACCESSING_SYMBOL, YY_ASSERT, YY_CAST, YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN, YY_IGNORE_MAYBE_UNINITIALIZED_END, YY_IGNORE_USELESS_CAST_BEGIN, YY_IGNORE_USELESS_CAST_END, YY_REDUCE_PRINT, YY_STACK_PRINT, YY_SYMBOL_PRINT, YYABORT, YYACCEPT, yychar, yycheck, yydefact, yydefgoto, yydestruct(), YYDPRINTF, YYEMPTY, YYEOF, YYerror, YYERROR, yyerror, YYFINAL, YYINITDEPTH, YYLAST, yylen, yylex(), yylhs, yylloc, yylval, YYMAXDEPTH, yynerrs, YYNOMEM, YYNSTATES, YYNTOKENS, yypact, yypact_value_is_default, yypgoto, YYPOPSTACK, YYPTRDIFF_T, yyr1, yyr2, YYSIZE_T, YYSIZEOF, yyss, c_exp_yyalloc::yyss_alloc, yyssp, YYSTACK_ALLOC, YYSTACK_BYTES, YYSTACK_FREE, YYSTACK_RELOCATE, yystacksize, yystate, YYSYMBOL_YYEMPTY, YYSYMBOL_YYEOF, YYSYMBOL_YYerror, yytable, yytable_value_is_error, YYTRANSLATE, YYUNDEF, yyval, yyvs, c_exp_yyalloc::yyvs_alloc, and yyvsp.
Referenced by c_parse().
|
static |
|
static |
Definition at line 149 of file c-exp.c.
Referenced by c_parse(), finished_macro_expansion(), operator_stoken(), scan_macro_expansion(), scanning_macro_expansion(), yylex(), and yyparse().
|
static |
Definition at line 5279 of file c-exp.c.
Referenced by c_parse(), and lex_one_token().
|
static |
Definition at line 5176 of file c-exp.c.
Referenced by lex_one_token().
|
static |
Definition at line 5288 of file c-exp.c.
Referenced by c_parse(), lex_one_token(), f_language::parser(), go_language::parser(), and yylex().
|
static |
Definition at line 5697 of file c-exp.c.
Referenced by c_parse(), go_language::parser(), and yylex().
|
static |
Definition at line 5291 of file c-exp.c.
Referenced by c_parse(), and lex_one_token().
|
static |
Definition at line 5693 of file c-exp.c.
Referenced by c_parse(), go_language::parser(), and yylex().
|
static |
Definition at line 102 of file c-exp.c.
Referenced by c_parse(), finished_macro_expansion(), lex_one_token(), scan_macro_expansion(), yyerror(), yylex(), and yyparse().
|
static |
Definition at line 5284 of file c-exp.c.
Referenced by c_parse(), lex_one_token(), f_language::parser(), and go_language::parser().
|
static |
Definition at line 4839 of file c-exp.c.
Referenced by go_language::demangle_symbol(), parse_string_or_char(), nto_procfs_target::xfer_partial(), and yylex().
|
static |
Definition at line 4840 of file c-exp.c.
Referenced by parse_string_or_char().
|
static |
Definition at line 5690 of file c-exp.c.
Referenced by c_parse(), go_language::parser(), and yylex().
|
static |
Definition at line 5145 of file c-exp.c.
Referenced by lex_one_token().
|
static |
Definition at line 5137 of file c-exp.c.
Referenced by lex_one_token().
|
static |
|
static |
|
static |
Definition at line 1158 of file c-exp.c.
Referenced by yyparse().
c_exp_YYSTYPE yylval |
Definition at line 1854 of file c-exp.c.
Referenced by classify_inner_name(), classify_name(), lex_one_token(), yylex(), and yyparse().
|
static |
|
static |
Definition at line 1148 of file c-exp.c.
Referenced by yyparse().
|
static |
|
static |
Definition at line 1614 of file c-exp.c.
Referenced by yy_reduce_print(), and yyparse().
|
static |
Definition at line 952 of file c-exp.c.
Referenced by yy_reduce_print().
|
static |
|
static |
|
static |
Definition at line 996 of file c-exp.c.
Referenced by yysymbol_name().
|
static |