/src/usr.bin/xlint/lint1/ |
externs1.h | 37 const char *expr_type_name(const tnode_t *); 127 tnode_t *expr_alloc_tnode(void); 147 void debug_node(const tnode_t *); 227 void dcs_add_alignas(tnode_t *); 277 int to_int_constant(tnode_t *, bool); 282 const tnode_t *before_conversion(const tnode_t *); 286 tnode_t *build_constant(type_t *, val_t *); 287 tnode_t *build_name(sym_t *, bool); 288 tnode_t *build_string(buffer *) [all...] |
ckbool.c | 54 is_int_constant_zero(const tnode_t *tn, tspec_t t) 61 const tnode_t *ln, tspec_t lt, 62 const tnode_t *rn, tspec_t rt) 96 const tnode_t *ln, tspec_t lt, 97 const tnode_t *rn, tspec_t rt) 121 const tnode_t *ln, 122 const tnode_t *rn) 187 is_typeok_bool_compares_with_zero(const tnode_t *tn, bool is_do_while)
|
tree.c | 510 ic_expr(const tnode_t *tn) 576 possible_bits(const tnode_t *tn) 627 str_len(const tnode_t *tn) 640 static tnode_t * 641 build_op(op_t op, bool sys, type_t *type, tnode_t *ln, tnode_t *rn) 644 tnode_t *ntn = expr_alloc_tnode(); 660 tnode_t * 664 tnode_t *n = expr_alloc_tnode(); 673 static tnode_t * [all...] |
ckctype.c | 98 check_ctype_arg(const char *func, const tnode_t *arg) 100 const tnode_t *on, *cn; 133 check_ctype_macro_invocation(const tnode_t *ln, const tnode_t *rn)
|
lint1.h | 287 typedef struct tnode tnode_t; typedef in typeref:struct:tnode 300 tnode_t *left; /* (left) operand */ 301 tnode_t *right; /* right operand */ 319 tnode_t *ga_result; /* NULL means error */ 450 tnode_t *c_switch_expr; 455 tnode_t *c_for_expr3; /* end of loop expr in for() */ 669 constant_is_nonzero(const tnode_t *tn) 677 is_zero(const tnode_t *tn) 683 is_nonzero(const tnode_t *tn) 695 is_binary(const tnode_t *tn [all...] |
func.c | 396 check_case_label_bitand(const tnode_t *case_expr, const tnode_t *switch_expr) 412 check_case_label_enum(const tnode_t *tn, const control_statement *cs) 458 check_case_label(tnode_t *tn) 513 case_label(tnode_t *tn) 546 static tnode_t * 547 check_controlling_expression(tnode_t *tn, bool is_do_while) 573 stmt_if_expr(tnode_t *tn) 611 stmt_switch_expr(tnode_t *tn) 711 stmt_while_expr(tnode_t *tn [all...] |
ckgetopt.c | 81 is_getopt_condition(const tnode_t *tn, char **out_options) 84 const tnode_t *last_arg; 148 check_getopt_begin_while(const tnode_t *tn)
|
mem1.c | 201 const tnode_t *tn = p; 342 tnode_t * 345 tnode_t *tn = expr_zero_alloc(sizeof(*tn), "tnode");
|
init.c | 157 can_init_character_array(const type_t *ltp, const tnode_t *rn) 202 check_bit_field_init(const tnode_t *ln, tspec_t lt, tspec_t rt) 214 check_non_constant_initializer(const tnode_t *tn, const sym_t *sym) 246 check_init_expr(const type_t *ltp, sym_t *lsym, tnode_t *rn) 252 tnode_t *ln = expr_zero_alloc(sizeof(*ln), "tnode"); 572 brace_level_goto(brace_level *bl, const tnode_t *rn, size_t *max_subscript) 820 initialization_expr_using_op(initialization *in, tnode_t *rn) 832 tnode_t *ln = build_name(in->in_sym, false); 835 tnode_t *tn = build_binary(ln, INIT, false /* XXX */, rn); 843 initialization_init_array_from_string(initialization *in, tnode_t *tn [all...] |
emit1.c | 326 outcall(const tnode_t *tn, bool retval_used, bool retval_discarded) 341 const tnode_t *arg = call->args[i];
|
README.md | 83 Lint mainly analyzes expressions (`tnode_t`), which are formed from operators 84 (`op_t`) and their operands (`tnode_t`). 104 ## tnode_t section 152 See `debug_node` for how to interpret the members of `tnode_t`. 189 | tn | `tnode_t` | a tree node, mostly used for expressions | 191 | ln | `tnode_t` | the left-hand operand of a binary operator | 192 | rn | `tnode_t` | the right-hand operand of a binary operator |
|
cksnprintb.c | 281 const tnode_t *value;
|
cgram.y | 173 tnode_t *y_tnode; 553 tnode_t *zero = expr_alloc_tnode(); 562 tnode_t *nc = expr_alloc_tnode();
|
debug.c | 196 debug_node(const tnode_t *tn) // NOLINT(misc-no-recursion)
|
decl.c | 475 dcs_add_alignas(tnode_t *tn) 3212 to_int_constant(tnode_t *tn, bool required)
|
/src/usr.bin/xlint/common/ |
tyname.c | 313 expr_type_name(const tnode_t *tn)
|