cp-tree.h (expr_list_kind): New type.
authorShujing Zhao <pearly.zhao@oracle.com>
Fri, 11 Jun 2010 03:54:28 +0000 (03:54 +0000)
committerShujing Zhao <pzhao@gcc.gnu.org>
Fri, 11 Jun 2010 03:54:28 +0000 (03:54 +0000)
commit2f5b91f52af207dbddd9da5aca54eeb8207fb37c
tree1135234233cb1f6f8a89c523354f82322391101d
parent66051b6074a5641299738aa1d698fc63175ca0de
cp-tree.h (expr_list_kind): New type.

2010-06-11  Shujing Zhao  <pearly.zhao@oracle.com>

        * cp-tree.h (expr_list_kind): New type.
        (impl_conv_rhs): New type.
        (build_x_compound_expr_from_list, convert_for_initialization): Adjust
        prototype.
        (typeck.c (convert_arguments): Use impl_conv_rhs and emit the
        diagnostics for easy translation. Change caller.
        (convert_for_initialization): Use impl_conv_rhs and change caller.
        (build_x_compound_expr_from_list): Use expr_list_kind and emit the
        diagnostics for easy translation. Change caller.
        * decl.c (bad_spec_place): New enum.
        (bad_specifiers): Use it and emit the diagnostics for easy
        translation. Change caller.
        * pt.c (coerce_template_parms): Put the diagnostics in full sentence.

From-SVN: r160591
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/cp-tree.h
gcc/cp/cvt.c
gcc/cp/decl.c
gcc/cp/init.c
gcc/cp/pt.c
gcc/cp/typeck.c
gcc/cp/typeck2.c