Home | History | Annotate | Download | only in lint1

Lines Matching refs:sym

209 		    tn->u.sym->s_name,
210 scl_name(tn->u.sym->s_scl));
402 debug_sym(const char *prefix, const sym_t *sym, const char *suffix)
405 debug_printf("%s%s", prefix, sym->s_name);
406 if (sym->s_type != NULL)
407 debug_printf(" type='%s'", type_name(sym->s_type));
408 if (sym->s_rename != NULL)
409 debug_printf(" rename=%s", sym->s_rename);
410 debug_printf(" %s", symbol_kind_name(sym->s_kind));
411 debug_word(sym->s_keyword != NULL, "keyword");
412 debug_word(sym->s_bitfield, "bit-field");
413 debug_word(sym->s_set, "set");
414 debug_word(sym->s_used, "used");
415 debug_word(sym->s_param, "parameter");
416 debug_word(sym->s_register, "register");
417 debug_word(sym->s_defparam, "old-style-undefined");
418 debug_word(sym->s_return_type_implicit_int, "return-int");
419 debug_word(sym->s_osdef, "old-style");
420 debug_word(sym->s_inline, "inline");
421 debug_word(sym->s_ext_sym != NULL, "has-external");
422 debug_word(sym->s_scl != NO_SCL, scl_name(sym->s_scl));
423 debug_word(sym->s_keyword == NULL, def_name(sym->s_def));
425 if (sym->s_def_pos.p_file != NULL)
427 sym->s_def_pos.p_file, sym->s_def_pos.p_line);
428 if (sym->s_set_pos.p_file != NULL)
430 sym->s_set_pos.p_file, sym->s_set_pos.p_line);
431 if (sym->s_use_pos.p_file != NULL)
433 sym->s_use_pos.p_file, sym->s_use_pos.p_line);
435 if (sym->s_type != NULL && sym->s_type->t_is_enum)
436 debug_printf(" value=%d", sym->u.s_enum_constant);
437 if (sym->s_type != NULL && sym->s_type->t_tspec == BOOL)
439 sym->u.s_bool_constant ? "true" : "false");
441 if (is_member(sym)) {
442 struct_or_union *sou = sym->u.s_member.sm_containing_type;
451 if (sym->s_keyword != NULL) {
452 int t = sym->u.s_keyword.sk_token;
455 tspec_name(sym->u.s_keyword.u.sk_tspec));
458 sym->u.s_keyword.u.sk_type_qualifier));
461 sym->u.s_keyword.u.function_specifier));
464 if (sym->s_type->t_tspec == ARRAY
465 && sym->u.s_array_nonnull_dimension > 0)
467 sym->u.s_array_nonnull_dimension);
469 debug_word(sym->s_osdef && sym->u.s_old_style_params != NULL,
530 for (const sym_t *sym = dl->d_func_proto_syms;
531 sym != NULL; sym = sym->s_next)
532 debug_sym(" func_proto_sym(", sym, ")");