OSDN Git Service

* gcc/cp/pt.c (make_fnparm_pack): Split out from...
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 23 Mar 2009 21:03:01 +0000 (21:03 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 23 Mar 2009 21:03:01 +0000 (21:03 +0000)
commit8173d80aef500e3325938bbff881a569d8bb51ec
treeea6d54ba1fb63d8cc661d04df277796e02ed2ac1
parent04d4a109e1232f31139f1fe22db79552334b9f59
    * gcc/cp/pt.c (make_fnparm_pack): Split out from...
        (instantiate_decl): ...here.
        (tsubst_pack_expansion): Handle being called in a late-specified
        return type.
        * libiberty/cp-demangle.c (d_expression): Handle pack expansion.
        (d_find_pack): Handle DEMANGLE_COMPONENT_FUNCTION_PARAM.
        (d_print_subexpr): Don't wrap function parms in ().
        (d_print_comp) [DEMANGLE_COMPONENT_PACK_EXPANSION]: Handle
        not finding a pack.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145013 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/auto12.C
libiberty/ChangeLog
libiberty/cp-demangle.c
libiberty/testsuite/demangle-expected