cp-tree.h (TYPE_FUNCTION_OR_TEMPLATE_DECL_CHECK): New.
authorJason Merrill <jason@redhat.com>
Mon, 1 Oct 2012 23:57:05 +0000 (19:57 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 1 Oct 2012 23:57:05 +0000 (19:57 -0400)
commit43f4447e6cff88a79d3e0f7a05f01fbbc4d03cda
treec71ae01e382b42cb1e6d1a75fc7824f4947a2c2e
parentfe230d3c7d6c49eb06b3a8b5fb90d3d3ef7ad18c
cp-tree.h (TYPE_FUNCTION_OR_TEMPLATE_DECL_CHECK): New.

* cp-tree.h (TYPE_FUNCTION_OR_TEMPLATE_DECL_CHECK): New.
(DECL_FRIEND_P, DECL_ANTICIPATED): Use it.
(TYPE_FUNCTION_OR_TEMPLATE_DECL_P): New.
* name-lookup.c (hidden_name_p): Use it.

From-SVN: r191946
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/name-lookup.c