aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/friend.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2017-03-01 20:58:30 -0500
committerJason Merrill <jason@gcc.gnu.org>2017-03-01 20:58:30 -0500
commit9a642ccae4ba5ca86c58f7770fd833158530bf88 (patch)
treea5e071e800e22c73c4e996eec76b100110eb382d /gcc/cp/friend.c
parent2b83483746b7b66f51ada58f5ac2a5f821154935 (diff)
downloadgcc-9a642ccae4ba5ca86c58f7770fd833158530bf88.zip
gcc-9a642ccae4ba5ca86c58f7770fd833158530bf88.tar.gz
gcc-9a642ccae4ba5ca86c58f7770fd833158530bf88.tar.bz2
Class template argument deduction in new-expression
Class template argument deduction in new-expression * init.c (build_new): Handle deduction from no initializer. * parser.c (cp_parser_new_expression): Don't require a single expression for class template deduction. * typeck2.c (cxx_incomplete_type_diagnostic): Fix diagnostic for class template placeholder. * pt.c (tsubst_copy) [TEMPLATE_DECL]: Handle dependent context. (tsubst_copy_and_build) [TEMPLATE_ID_EXPR]: Handle SCOPE_REF. (redeclare_class_template): Set TEMPLATE_TYPE_PARM_FOR_CLASS. From-SVN: r245826
Diffstat (limited to 'gcc/cp/friend.c')
0 files changed, 0 insertions, 0 deletions