decl.c (cxx_maybe_build_cleanup): Always set LOOKUP_NONVIRTUAL.
authorJason Merrill <jason@redhat.com>
Thu, 31 Oct 2013 15:44:58 +0000 (11:44 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 31 Oct 2013 15:44:58 +0000 (11:44 -0400)
commitb8aaa1a3b97790dfaf45c2fdf671ed1ae81e3b07
treeb7c74e14c0dcd2d71253f0e3e742eb1aa28fc881
parent1c79ebd52214a424949c5a242ee440f211bc9566
decl.c (cxx_maybe_build_cleanup): Always set LOOKUP_NONVIRTUAL.

* decl.c (cxx_maybe_build_cleanup): Always set LOOKUP_NONVIRTUAL.
* decl2.c (build_cleanup): Just call cxx_maybe_build_cleanup.

From-SVN: r204265
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/decl2.c