diff options
author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-05-12 09:09:25 +0000 |
---|---|---|
committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-05-12 09:09:25 +0000 |
commit | cf4197e6d6a372dbeff1f9b33fe7d320b2557b72 (patch) | |
tree | e2fafd0b56cb95940355b3ae86acf13cbae8e931 | |
parent | 05765a912d85eaf2e28a55c8ba923e7fa1153bf3 (diff) | |
download | gcc-cf4197e6d6a372dbeff1f9b33fe7d320b2557b72.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187426 138bc75d-0d04-0410-961f-82ee72b054a4
-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 31e8855bf84..e99366fb28d 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}. |