c-typeck.c (enum impl_conv): New.
* c-typeck.c (enum impl_conv): New. (convert_for_assignment): Use it. Take tree for function called instead of its name. Handle ObjC selectors for diagnostics at start of function. Select diagnostic text within the function using full sentences for diagnsotics. Use %qE to name functions in diagnostics. (convert_arguments, build_modify_expr, c_convert_parm_for_inlining, digest_init, c_finish_return): Update callers to convert_for_assignment. (warn_for_assignment): Remove. testsuite: * gcc.dg/assign-warn-1.c, gcc.dg/assign-warn-2.c: New tests. * gcc.dg/warn-1.c, gcc.dg/noncompile/20020213-1.c, objc.dg/method-9.m: Update expected diagnostics. From-SVN: r88741
Showing
This diff is collapsed.
Click to expand it.
gcc/testsuite/gcc.dg/assign-warn-1.c
0 → 100644
This diff is collapsed.
Click to expand it.
gcc/testsuite/gcc.dg/assign-warn-2.c
0 → 100644
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment