diff options
author | Jason Merrill <jason@redhat.com> | 2011-03-29 09:27:25 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2011-03-29 09:27:25 -0400 |
commit | a90caaa2fde8b592910b232176e6f0f6188dcd0a (patch) | |
tree | 7b08622bab7763a062b742650b2f7d04fb7c3a28 /gcc/go | |
parent | 915829ccf1a380e5af8d7f59f53a9fe75bc778b1 (diff) | |
download | gcc-a90caaa2fde8b592910b232176e6f0f6188dcd0a.zip gcc-a90caaa2fde8b592910b232176e6f0f6188dcd0a.tar.gz gcc-a90caaa2fde8b592910b232176e6f0f6188dcd0a.tar.bz2 |
re PR c++/48296 ([C++0x] constexpr member function cannot use the class type it belongs as parameter type or return type)
PR c++/48296
* decl.c (cp_finish_decl): Defer validation of constexpr member
functions.
* class.c (finalize_literal_type_property): Validate them here.
* semantics.c (is_valid_constexpr_fn): Don't check completeness.
From-SVN: r171661
Diffstat (limited to 'gcc/go')
0 files changed, 0 insertions, 0 deletions