diff options
author | Paolo Carlini <paolo@gcc.gnu.org> | 2012-05-12 09:09:25 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2012-05-12 09:09:25 +0000 |
commit | 3906795848d851fde84d9cc12067f153561bb11a (patch) | |
tree | e2fafd0b56cb95940355b3ae86acf13cbae8e931 | |
parent | 66b1156afefc078e6fcf7d9e041b15aea1f3897c (diff) | |
download | gcc-3906795848d851fde84d9cc12067f153561bb11a.zip gcc-3906795848d851fde84d9cc12067f153561bb11a.tar.gz gcc-3906795848d851fde84d9cc12067f153561bb11a.tar.bz2 |
generic.texi: Rename TYPE_PTRMEM_P to TYPE_PTRDATAMEM_P.
2012-05-12 Paolo Carlini <paolo.carlini@oracle.com>
* doc/generic.texi: Rename TYPE_PTRMEM_P to TYPE_PTRDATAMEM_P.
/cp
2012-05-12 Paolo Carlini <paolo.carlini@oracle.com>
* cp-tree.h (TYPE_PTRMEM_P): Rename to TYPE_PTRDATAMEM_P.
(TYPE_PTR_TO_MEMBER_P): Rename to TYPE_PTRMEM_P.
(TYPE_PTR_OR_PTRMEM_P): Add.
* typeck.c (composite_pointer_type_r, composite_pointer_type,
common_pointer_type, cp_build_indirect_ref, cp_build_binary_op,
cp_truthvalue_conversion, convert_ptrmem, build_static_cast_1,
build_reinterpret_cast_1, build_const_cast_1, comp_ptr_ttypes_real,
casts_away_constness_r, casts_away_constness): Adjust.
* init.c (build_zero_init_1): Adjust.
* class.c (check_field_decls): Likewise.
* decl.c (check_default_argument): Likewise.
* rtti.c (target_incomplete_p): Likewise.
* tree.c (zero_init_p): Likewise.
* cxx-pretty-print.c (pp_cxx_ptr_operator,
pp_cxx_abstract_declarator): Likewise.
* typeck2.c (build_m_component_ref): Likewise.
* pt.c (convert_nontype_argument, invalid_nontype_parm_type_p,
dependent_type_p_r): Likewise.
* call.c (null_member_pointer_value_p, standard_conversion,
add_builtin_candidate, build_conditional_expr_1, compare_ics):
Likewise.
* cp-objcp-common.c (cp_var_mod_type_p): Likewise.
* cvt.c (cp_convert_to_pointer, ocp_convert,
perform_qualification_conversions): Likewise.
* mangle.c (write_type): Likewise.
* name-lookup.c (arg_assoc_type): Likewise.
From-SVN: r187426
-rw-r--r-- | gcc/doc/generic.texi | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/doc/generic.texi b/gcc/doc/generic.texi index 31e8855..e99366f 100644 --- a/gcc/doc/generic.texi +++ b/gcc/doc/generic.texi @@ -2494,7 +2494,7 @@ should submit your patches for inclusion in GCC@. @findex TYPE_PRECISION @findex TYPE_ARG_TYPES @findex TYPE_METHOD_BASETYPE -@findex TYPE_PTRMEM_P +@findex TYPE_PTRDATAMEM_P @findex TYPE_OFFSET_BASETYPE @findex TREE_TYPE @findex TYPE_CONTEXT @@ -2571,7 +2571,7 @@ This predicate holds for a class-type. @item TYPE_BUILT_IN This predicate holds for a built-in type. -@item TYPE_PTRMEM_P +@item TYPE_PTRDATAMEM_P This predicate holds if the type is a pointer to data member. @item TYPE_PTR_P @@ -2597,7 +2597,7 @@ language-dependent info about GENERIC types. @item POINTER_TYPE Used to represent pointer types, and pointer to data member types. If @code{TREE_TYPE} -is a pointer to data member type, then @code{TYPE_PTRMEM_P} will hold. +is a pointer to data member type, then @code{TYPE_PTRDATAMEM_P} will hold. For a pointer to data member type of the form @samp{T X::*}, @code{TYPE_PTRMEM_CLASS_TYPE} will be the type @code{X}, while @code{TYPE_PTRMEM_POINTED_TO_TYPE} will be the type @code{T}. |