diff options
author | Jason Merrill <jason@redhat.com> | 2014-11-26 16:58:38 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2014-11-26 16:58:38 -0500 |
commit | a2033ab1071bd77d1bde659c9b1a0f00e85cc6bf (patch) | |
tree | 5545278ced316fbb528d4e891ecfe7d300975c53 /gcc/tree-ssa-threadupdate.c | |
parent | d896cc4d45203f639fe95c7c3af14ad3f2d26673 (diff) | |
download | gcc-a2033ab1071bd77d1bde659c9b1a0f00e85cc6bf.zip gcc-a2033ab1071bd77d1bde659c9b1a0f00e85cc6bf.tar.gz gcc-a2033ab1071bd77d1bde659c9b1a0f00e85cc6bf.tar.bz2 |
Allow partial specialization of variable templates.
* cp-tree.h (TINFO_USED_TEMPLATE_ID): New.
* decl.c (duplicate_decls): Copy it.
* error.c (dump_decl) [TEMPLATE_ID_EXPR]: Handle variables.
* parser.c (cp_parser_decltype_expr): Do call finish_id_expression
on template-ids.
* pt.c (register_specialization): Remember variable template insts.
(instantiate_template_1): Find the matching partial specialization.
(check_explicit_specialization): Allow variable partial specialization.
(process_partial_specialization): Likewise.
(push_template_decl_real): Likewise.
(more_specialized_partial_spec): Rename from more_specialized_class.
(most_specialized_partial_spec): Rename from most_specialized_class.
(get_partial_spec_bindings): Rename from get_class_bindings.
From-SVN: r218104
Diffstat (limited to 'gcc/tree-ssa-threadupdate.c')
0 files changed, 0 insertions, 0 deletions