OSDN Git Service

* pt.c (tsubst_default_argument): Handle DEFAULT_ARG.
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 11 Oct 2010 13:25:50 +0000 (13:25 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 11 Oct 2010 13:25:50 +0000 (13:25 +0000)
commitfeb6e133e5a3cf2d7814f0e4cc5c1766fe1dd7f7
tree84566f40566eb0b3d002b5d97d9ddff253581a9c
parent70d2438a9f7091ad809d73b1958632f30b812023
* pt.c (tsubst_default_argument): Handle DEFAULT_ARG.
(tsubst_default_arguments): Only do this once for cloned fns.
(tsubst): Use typedef_variant_p.  Handle LANG_TYPE.  Don't
handle expressions.
(tsubst_expr): Avoid calling tsubst_expr for non-expressions.
(tsubst_copy_and_build): Likewise.
(tsubst_initializer_list): Likewise.
(tsubst_copy): Change default to gcc_unreachable.  Handle
OVERLOAD and PTRMEM_CST.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165307 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/pt.c