diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-08-23 06:51:58 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-08-23 06:51:58 +0000 |
commit | 8b2ddcd8ae47a1ff86325277cc59519b76ee3686 (patch) | |
tree | c98497e8bebb0ca8566b2a4a78834a6b21529061 /libcpp/expr.c | |
parent | af1a80f2d23a668502ad6f7e987345ce97769e36 (diff) |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214396 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libcpp/expr.c')
0 files changed, 0 insertions, 0 deletions