Home
last modified time | relevance | path

Searched refs:lint_assert (Results 1 – 10 of 10) sorted by relevance

/netbsd/usr.bin/xlint/lint1/
H A Dinit.c357 lint_assert(dr->dr_member != NULL); in designator_type()
384 lint_assert(dr->dr_subscript == 0); in designator_debug()
390 lint_assert(dr->dr_member == NULL); in designator_debug()
393 lint_assert(dr->dr_member == NULL); in designator_debug()
394 lint_assert(dr->dr_subscript == 0); in designator_debug()
425 lint_assert(dn->dn_len > 0); in designation_last()
519 lint_assert(bl->bl_type != NULL); in brace_level_debug()
594 lint_assert(tp->t_tspec == ARRAY); in warn_too_many_initializers()
835 lint_assert(bl != NULL); in initialization_add_designator_member()
870 lint_assert(bl != NULL); in initialization_add_designator_subscript()
[all …]
H A Ddecl.c512 lint_assert(dcs != NULL); in end_declaration_level()
643 lint_assert(t == NO_TSPEC); in dcs_merge_declaration_specifiers()
644 lint_assert(s == NO_TSPEC); in dcs_merge_declaration_specifiers()
645 lint_assert(l == NO_TSPEC); in dcs_merge_declaration_specifiers()
776 lint_assert(elsz > 0); in length_in_bits()
795 lint_assert(t != FUNC); in alignment_in_bits()
801 lint_assert(a >= CHAR_SIZE); in alignment_in_bits()
1459 lint_assert(sc == REG); in declarator_name()
1599 lint_assert(kind == ENUM); in make_tag_type()
2283 lint_assert(src != NULL); in complete_type()
[all …]
H A Dfunc.c162 lint_assert(cstmt != NULL); in end_control_statement()
228 lint_assert(sym->s_block_level == 1); in begin_function()
271 lint_assert(arg->s_name == unnamed); in begin_function()
275 lint_assert(arg->s_name != unnamed); in begin_function()
409 lint_assert(dcs->d_enclosing == NULL); in end_function()
410 lint_assert(dcs->d_kind == DLK_EXTERN); in end_function()
442 lint_assert(case_expr->tn_op == CON); in check_case_label_bitand()
502 lint_assert(cs->c_switch_type != NULL); in check_case_label()
718 lint_assert(cstmt->c_switch_type != NULL); in stmt_switch_expr_stmt()
726 lint_assert(cstmt->c_switch_type->t_enum != NULL); in stmt_switch_expr_stmt()
H A Dtree.c944 lint_assert(!allow_c90); in build_struct_access()
1033 lint_assert(ln != NULL); in build_prepost_incdec()
1059 lint_assert(ec != NULL); in check_enum_array_index()
1125 lint_assert(op == MINUS); in build_plus_minus()
1333 lint_assert(lt == rt); in build_assignment()
1377 lint_assert(ln != NULL); in build_real_imag()
1463 lint_assert(is_binary(tn)); in check_precedence_confusion()
3985 lint_assert(tp != NULL); in type_size_in_bits()
4031 lint_assert(elsz > 0); in type_size_in_bits()
4107 lint_assert(tp != NULL); in cast()
[all …]
H A Dlint1.h494 #define lint_assert(cond) \ macro
586 lint_assert(tn->tn_op == CON); in constant_is_nonzero()
587 lint_assert(tn->tn_type->t_tspec == tn->tn_val.v_tspec); in constant_is_nonzero()
625 lint_assert(i < 64); in bit()
638 lint_assert(bitsize > 0); in value_bits()
H A Dckgetopt.c117 lint_assert(ck.options != NULL); in check_unlisted_option()
137 lint_assert(ck.options != NULL); in check_unhandled_option()
H A Demit1.c110 lint_assert(tt[ts] != '?' && ss[ts] != '?'); in outtype()
209 lint_assert(def == DECL); in outsym()
477 lint_assert(strg->st_char); in outfstrg()
H A Dlex.c335 lint_assert(level != -1); in debug_symtab()
479 lint_assert(block_level >= sym->s_block_level); in lex_name()
537 lint_assert(eptr == cp + len); in lex_integer_constant()
680 lint_assert(eptr == cp + len); in lex_floating_constant()
1328 lint_assert(sym->s_kind == symtyp); in getsym()
1348 lint_assert(dl->d_kind == DLK_AUTO); in getsym()
1462 lint_assert(sym->s_block_level >= next->s_block_level); in inssym()
1485 lint_assert(sym->s_block_level <= block_level); in pushdown()
H A Ddebug.c198 lint_assert(tn->tn_type->t_tspec == BOOL); in debug_node()
226 lint_assert(tn->tn_left != NULL); in debug_node()
231 lint_assert(is_binary(tn) == (tn->tn_right != NULL)); in debug_node()
H A Dcgram.y685 lint_assert($2 != NULL);