cp-tree.h (DECL_TEMPLOID_INSTANTIATION): New.
authorJason Merrill <jason@redhat.com>
Tue, 20 Sep 2011 19:38:06 +0000 (15:38 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 20 Sep 2011 19:38:06 +0000 (15:38 -0400)
commitb432106bc016fe9f794a71629274244b94d1dfe0
treef03e0fbda63608f797838b232ee3834ac2942fd7
parenta4d25b444ddd3e7bede9de07530116456b9e69a8
cp-tree.h (DECL_TEMPLOID_INSTANTIATION): New.

* cp-tree.h (DECL_TEMPLOID_INSTANTIATION): New.
(DECL_GENERATED_P): New.
* class.c (finalize_literal_type_property): Use them.
* semantics.c (is_instantiation_of_constexpr): Likewise.
(register_constexpr_fundef): Likewise.

From-SVN: r179017
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/constexpr-generated1.C [new file with mode: 0644]