introduce {class,type}_of_this_parm functions
authorNathan Froyd <froydnj@codesourcery.com>
Fri, 6 May 2011 17:03:08 +0000 (17:03 +0000)
committerNathan Froyd <froydnj@gcc.gnu.org>
Fri, 6 May 2011 17:03:08 +0000 (17:03 +0000)
commit7e1352fe55aa8c9573c9a3e9e3d6d8eed3e879d6
tree0bea53352609d3a6f12f4add666223863889cc00
parent54cc9874fd081f49c678daa8dc97299e89d9a000
introduce {class,type}_of_this_parm functions

introduce {class,type}_of_this_parm functions
* cp-tree.h (type_of_this_parm, class_of_this_parm): New functions.
* call.c (standard_conversion): Call class_of_this_parm.
* cxx-pretty-print.c (pp_cxx_implicit_parameter_type): Likewise.
(pp_cxx_direct_abstract_declarator): Likewise.
* decl2.c (change_return_type): Likewise.
(cp_reconstruct_complex_type): Likewise.
* error.c (dump_type_suffix, dump_function_decl): Likewise.
* mangle.c (write_function_type): Likewise.
* pt.c (unify): Likewise.
* typeck.c (merge_types, type_memfn_quals): Likewise.
* decl.c (build_this_parm): Call type_of_this_parm.

From-SVN: r173496
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/cp-tree.h
gcc/cp/cxx-pretty-print.c
gcc/cp/decl.c
gcc/cp/decl2.c
gcc/cp/error.c
gcc/cp/mangle.c
gcc/cp/pt.c
gcc/cp/typeck.c