Home
last modified time | relevance | path

Searched refs:sparse_error (Results 1 – 17 of 17) sorted by relevance

/third_party/ltp/tools/sparse/sparse-src/
Dir.c36 sparse_error(insn->pos, "bad number of phi operands in:\n\t%s", in check_phi_node()
51 sparse_error(src->pos, "wrong BB for %s:", show_instruction(src)); in check_phi_node()
68 sparse_error(insn->pos, "null pseudo in %s", show_instruction(insn)); in check_user()
78 sparse_error(insn->pos, "wrong usage for %s in %s", show_pseudo(pseudo), in check_user()
92 sparse_error(insn->pos, "branch to dead BB: %s", show_instruction(insn)); in check_branch()
115 sparse_error(insn->pos, "return without value"); in check_return()
Dpre-process.c146 sparse_error(token->pos, "expected preprocessor identifier"); in token_defined()
373 sparse_error(what->pos, "macro \"%s\" requires %d arguments, but only %d given", in collect_arguments()
383 sparse_error(what->pos, "macro \"%s\" passed %d arguments, but takes just %d", in collect_arguments()
387 sparse_error(what->pos, "unterminated argument list invoking macro \"%s\"", in collect_arguments()
422 sparse_error(token->pos, "too long token expansion"); in show_token_sequence()
587 sparse_error(left->pos, "'##' failed: concatenation is not a valid token"); in merge()
805 sparse_error(start->pos, "expected '>' at end of filename"); in token_name_sequence()
1168 sparse_error(arg->pos, "parameter name missing"); in parse_arguments()
1171 sparse_error(arg->pos, "\"%s\" may not appear in macro parameter list", in parse_arguments()
1175 sparse_error(arg->pos, "missing ')' in macro parameter list"); in parse_arguments()
[all …]
Dparse.c630 sparse_error(token->pos, "Expected %s %s", show_special(op), where); in expect()
631 sparse_error(token->pos, "got %s", show_token(token)); in expect()
651 sparse_error(token->pos, "%s", errmsg); in unexpected()
652 sparse_error(token->pos, "got %s", show_token(token)); in unexpected()
681 sparse_error(pos, "don't know how to apply mode to %s", in apply_modifiers()
760 sparse_error(token->pos, "expected declaration"); in struct_union_enum_specifier()
987 sparse_error(expr->pos, "incompatible restricted type"); in parse_enum_declaration()
992 sparse_error(token->pos, "bad enum definition"); in parse_enum_declaration()
1009 sparse_error(token->pos, "empty enum definition"); in parse_enum_declaration()
1054 sparse_error(token->pos, "expected '(' after typeof"); in typeof_specifier()
[all …]
Dexpression.c84 sparse_error(token->pos, "an expression is expected before ')'"); in parens_expression()
93 sparse_error(token->pos, "string literal expected for %s", where); in string_expression()
154 sparse_error(token->pos, in parse_type()
202 sparse_error(token->pos, in builtin_offsetof_expr()
228 sparse_error(token->pos, "Expected member name"); in builtin_offsetof_expr()
382 sparse_error(expr->pos, "constant %s is not a valid number", show_token(token)); in get_number_value()
488 sparse_error(token->pos, "typename in expression"); in primary_expression()
597 sparse_error(token->pos, "Expected member name"); in postfix_expression()
700 sparse_error(token->pos, "Syntax error in unary expression"); in unary_expression()
718 sparse_error(token->pos, "Syntax error in unary expression"); in unary_expression()
[all …]
Dscheck.c45 sparse_error(pos, "invalid type"); in get_sort()
221 sparse_error(insn->pos, "assertion failed"); in check_btor()
227 sparse_error(insn->pos, "SMT failure"); in check_btor()
255 sparse_error(insn->pos, "should be a constant: %s", show_pseudo(src2)); in check_const()
259 sparse_error(insn->pos, "not a constant: %s", show_pseudo(src1)); in check_const()
261 sparse_error(insn->pos, "invalid value: %s != %s", show_pseudo(src1), show_pseudo(src2)); in check_const()
Dsymbol.c102 sparse_error(sym->pos, "flexible array member '%s' in a union", show_ident(sym->ident)); in lay_out_union()
219 sparse_error(member->pos, "member '%s' has __auto_type", show_ident(member->ident)); in examine_struct_union_type()
223sparse_error(info.flex_array->pos, "flexible array member '%s' is not last", show_ident(info.flex_… in examine_struct_union_type()
325 sparse_error(sym->pos, "bitfield '%s' is wider (%d) than its type (%s)", in examine_bitfield_type()
599 sparse_error(sym->pos, "ctype on preprocessor command? (%s)", show_ident(sym->ident)); in examine_symbol_type()
602 sparse_error(sym->pos, "ctype on uninitialized symbol '%s'", show_typename(sym)); in examine_symbol_type()
611 sparse_error(sym->pos, "Examining unknown symbol type %d", sym->type); in examine_symbol_type()
748 sparse_error(sym->pos, "internal error: symbol type already bound"); in bind_symbol_with_scope()
752 sparse_error(sym->pos, "Trying to use reserved word '%s' as identifier", show_ident(ident)); in bind_symbol_with_scope()
Devaluate.c397 sparse_error(expr->pos, "incompatible types for operation (%s):", show_special(expr->op)); in bad_expr_type()
405 sparse_error(expr->pos, "incompatible type for operation (%s):", show_special(expr->op)); in bad_expr_type()
704 sparse_error(t1->pos, in type_difference()
892 sparse_error(expr->pos, "non-scalar type in conditional:"); in evaluate_conditional()
1763sparse_error(expr->pos, "taking the address of built-in function '%s'", show_ident(ctype->ident)); in degenerate()
1785 sparse_error(expr->pos, "taking the address of built-in function '%s'", show_ident(ctype->ident)); in evaluate_addressof()
3315 sparse_error(pos, "label '%s' was not declared", show_ident(label->ident)); in check_label_declaration()
3358 sparse_error(stype->pos, "variable length array type in generic selection"); in evaluate_generic_selection()
3362 sparse_error(stype->pos, "function type in generic selection"); in evaluate_generic_selection()
3366 sparse_error(stype->pos, "incomplete type in generic selection"); in evaluate_generic_selection()
[all …]
Dchar.c80 sparse_error(token->pos, "empty character constant"); in get_char_constant()
Dlib.h106 extern void sparse_error(struct position, const char *, ...) FORMAT_ATTR(2);
Dbuiltin.c366 sparse_error(arg->pos, "invalid type for argument %d:", n); in evaluate_overflow_gen()
444 sparse_error(arg->pos, "non-integer type for argument %d:", n); in evaluate_generic_int_op()
508 sparse_error(arg->pos, "invalid type for argument %d:", n); in eval_atomic_common()
Dlib.c207 void sparse_error(struct position pos, const char * fmt, ...) in sparse_error() function
Dsymbol.h588 sparse_error(pos, "multiple address spaces given"); in combine_address_space()
Dinline.c524 sparse_error(fn->pos, "marked inline, but without a definition"); in inline_function()
Ddissect.c638 sparse_error(dctx->pos, "dissect_ctx change %s -> %s", in do_symbol()
Dtokenize.c569 sparse_error(stream_pos(stream), "number token exceeds %td characters", in get_one_number()
Dsparse-llvm.c365 sparse_error(ctype->pos, "no value possible for %s", show_typename(ctype)); in val_to_value()
/third_party/ltp/tools/sparse/sparse-src/validation/
Dvarargs1.c2 static void sparse_error(const char err[]) in sparse_error() function