OSDN Git Service

* tree.c (cv_unqualified): New fn.
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 1 Nov 2009 05:07:00 +0000 (05:07 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 1 Nov 2009 05:07:00 +0000 (05:07 +0000)
commit749ecbf670139a223544beca3160e1ce86d8a440
tree26911dba08cb0a7db0e486c6601e5761fb0de7d0
parenta561df9329636797c74524f50bb47bc7eec655b2
* tree.c (cv_unqualified): New fn.
* cp-tree.h: Declare it.
* typeck.c (decay_conversion): Use it instead of TYPE_MAIN_VARIANT.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@153790 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/tree.c
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/tree-ssa/restrict1.C [new file with mode: 0644]