aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/lambda.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2014-08-23 02:51:58 -0400
committerJason Merrill <jason@gcc.gnu.org>2014-08-23 02:51:58 -0400
commit5e0231c231404677aa1b90e499b54cc1ff6328a4 (patch)
treec98497e8bebb0ca8566b2a4a78834a6b21529061 /gcc/cp/lambda.c
parenta545cacd6840d61110cb2d4b17444bf95fe64959 (diff)
downloadgcc-5e0231c231404677aa1b90e499b54cc1ff6328a4.zip
gcc-5e0231c231404677aa1b90e499b54cc1ff6328a4.tar.gz
gcc-5e0231c231404677aa1b90e499b54cc1ff6328a4.tar.bz2
Allow non-constexpr variable templates.
* decl2.c (note_variable_template_instantiation): New. * cp-tree.h: Declare it. * pt.c (instantiate_decl): Call it. (push_template_decl_real): Allow non-constexpr variable templates. * semantics.c (finish_id_expression): Mark the variable template instantiation as used. * mangle.c (write_mangled_name): Variable template instantiations are mangled. * parser.c (cp_parser_init_declarator): Complain about non-function implicit templates. From-SVN: r214396
Diffstat (limited to 'gcc/cp/lambda.c')
0 files changed, 0 insertions, 0 deletions