2010-06-11 Shujing Zhao <pearly.zhao@oracle.com>
commit183407eee40eeb1aa710d1b41eb7e68a2664849b
authorpzhao <pzhao@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 11 Jun 2010 03:54:28 +0000 (11 03:54 +0000)
committerpzhao <pzhao@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 11 Jun 2010 03:54:28 +0000 (11 03:54 +0000)
tree1135234233cb1f6f8a89c523354f82322391101d
parentad0fe61dc390856017085222ba1e751ac1a45c97
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160591 138bc75d-0d04-0410-961f-82ee72b054a4
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