FreeBSD/contrib/gcc/cp/decl.c
/* Build a PARM_DECL for the "this" parameter.  TYPE is the
   METHOD_TYPE for a non-static member function; QUALS are the
   cv-qualifiers that apply to the function.  */
Build a PARM_DECL for the "this" parameter.  TYPE is the
METHOD_TYPE for a non-static member function; QUALS are the
cv-qualifiers that apply to the function.
Build a PARM_DECL for the " this " parameter . TYPE is the METHOD_TYPE for a non - static member function ; QUALS are the cv - qualifiers that apply to the function .
tree
build_this_parm (tree type, cp_cv_quals quals)
{
  tree this_type;
  tree qual_type;
  tree parm;
  cp_cv_quals this_quals;
  this_type = TREE_VALUE (TYPE_ARG_TYPES (type));
  this_quals = (quals & TYPE_QUAL_RESTRICT) | TYPE_QUAL_CONST;
  qual_type = cp_build_qualified_type (this_type, this_quals);
  parm = build_artificial_parm (this_identifier, qual_type);
  cp_apply_type_quals_to_decl (this_quals, parm);
  return parm;
}
tree build_this_parm ( tree type , cp_cv_quals quals ) { tree this_type ; tree qual_type ; tree parm ; cp_cv_quals this_quals ; this_type = TREE_VALUE ( TYPE_ARG_TYPES ( type ) ) ; this_quals = ( quals & TYPE_QUAL_RESTRICT ) | TYPE_QUAL_CONST ; qual_type = cp_build_qualified_type ( this_type , this_quals ) ; parm = build_artificial_parm ( this_identifier , qual_type ) ; cp_apply_type_quals_to_decl ( this_quals , parm ) ; return parm ; }
Build a PARM_DECL for the "this" parameter.
Build a PARM_DECL for the " this " parameter .
/* The `this' parameter is implicitly `const'; it cannot be
     assigned to.  */