cp-tree.h (REFERENCE_REF_P): Just check the type.
authorJason Merrill <jason@redhat.com>
Thu, 5 May 2011 20:09:18 +0000 (16:09 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 5 May 2011 20:09:18 +0000 (16:09 -0400)
commit31e292c7a319a9a8bc449cf8514ed45951bb706e
tree88748f60dca27ee658546987e83c360a8bd05b7b
parent013c0411847e7dccb9c2732dab70e14fcad4ebe4
cp-tree.h (REFERENCE_REF_P): Just check the type.

* cp-tree.h (REFERENCE_REF_P): Just check the type.
* cvt.c (convert_from_reference): Adjust.
* pt.c (build_non_dependent_expr): Adjust.
* semantics.c (finish_offsetof): Adjust.
* tree.c (lvalue_kind): Use it.

From-SVN: r173449
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/cvt.c
gcc/cp/pt.c
gcc/cp/semantics.c
gcc/cp/tree.c