diff options
author | Jason Merrill <jason@redhat.com> | 2009-11-12 13:25:51 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2009-11-12 13:25:51 -0500 |
commit | 36c37128fec15951f4ca43ad748568aaa550e2d3 (patch) | |
tree | dc0bb919cc000e4ca415472a4da5243b7d3f412e /gcc/cp/cp-tree.h | |
parent | f33e4dd77aa34fab8c329da1572289304802c2a1 (diff) | |
download | gcc-36c37128fec15951f4ca43ad748568aaa550e2d3.zip gcc-36c37128fec15951f4ca43ad748568aaa550e2d3.tar.gz gcc-36c37128fec15951f4ca43ad748568aaa550e2d3.tar.bz2 |
typeck.c (cv_qualified_p): New fn.
* typeck.c (cv_qualified_p): New fn.
(decay_conversion): Use it.
* cp-tree.h: Declare it.
* tree.c (rvalue): Use it and cv_unqualified.
* init.c (build_aggr_init): Likewise.
From-SVN: r154125
Diffstat (limited to 'gcc/cp/cp-tree.h')
-rw-r--r-- | gcc/cp/cp-tree.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h index ca52bdf..f66a009 100644 --- a/gcc/cp/cp-tree.h +++ b/gcc/cp/cp-tree.h @@ -5149,6 +5149,7 @@ extern tree move (tree); extern tree cp_build_qualified_type_real (tree, int, tsubst_flags_t); #define cp_build_qualified_type(TYPE, QUALS) \ cp_build_qualified_type_real ((TYPE), (QUALS), tf_warning_or_error) +extern bool cv_qualified_p (const_tree); extern tree cv_unqualified (tree); extern special_function_kind special_function_p (const_tree); extern int count_trees (tree); |