diff options
author | Mark Mitchell <mark@codesourcery.com> | 2000-04-11 16:56:14 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2000-04-11 16:56:14 +0000 |
commit | 454fa7a7dbd0aee93b1db23e3d7047b35897e6c6 (patch) | |
tree | 15120d6f9393a649570d07809557b715b7b318a5 /gcc/cp/tree.c | |
parent | 0acf7199cc1cdd108ad61ddb1b5999f2d510369e (diff) | |
download | gcc-454fa7a7dbd0aee93b1db23e3d7047b35897e6c6.zip gcc-454fa7a7dbd0aee93b1db23e3d7047b35897e6c6.tar.gz gcc-454fa7a7dbd0aee93b1db23e3d7047b35897e6c6.tar.bz2 |
cp-tree.h (lang_decl_flags): Rename constructor_for_vbase_attr to has_in_charge_parm_p.
* cp-tree.h (lang_decl_flags): Rename constructor_for_vbase_attr
to has_in_charge_parm_p.
(DECL_CONSTRUCTOR_FOR_VBASE_P): Rename to ...
(DECL_HAS_IN_CHARGE_PARM_P): ... this.
(DECL_COPY_CONSTRUCTOR_P): New macro.
* call.c (add_function_candidate): Use DECL_HAS_IN_CHARGE_PARM_P.
(build_user_type_conversion_1): Likewise.
(convert_like_real): Likewise.
(build_over_call): Likeiwse. Use DECL_COPY_CONSTRUCTOR_P.
* decl.c (grokdeclarator): Use DECL_HAS_IN_CHARGE_PARM_P.
(copy_args_p): Likewise.
(grok_ctor_properties): Likewise.
(start_function): Likewise.
* decl2.c (maybe_retrofit_in_charge): Likewise. Set it.
* error.c (dump_function_decl): Use DECL_HAS_IN_CHARGE_PARM_P.
* init.c (emit_base_init): Use DECL_COPY_CONSTRUCTOR_P.
* method.c (do_build_copy_constructor): Use
DECL_HAS_IN_CHARGE_PARM_P.
(synthesize_method): Likewise.
* pt.c (instantiate_template): Remove goto.
* tree.c (build_cplus_method_type): Remove mention of obstacks in
comment.
From-SVN: r33080
Diffstat (limited to 'gcc/cp/tree.c')
-rw-r--r-- | gcc/cp/tree.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/cp/tree.c b/gcc/cp/tree.c index db3c418..77973d6 100644 --- a/gcc/cp/tree.c +++ b/gcc/cp/tree.c @@ -460,9 +460,7 @@ build_cplus_method_type (basetype, rettype, argtypes) ptype = build_pointer_type (basetype); /* The actual arglist for this function includes a "hidden" argument - which is "this". Put it into the list of argument types. Make - sure that the new argument list is allocated on the same obstack - as the type. */ + which is "this". Put it into the list of argument types. */ argtypes = tree_cons (NULL_TREE, ptype, argtypes); TYPE_ARG_TYPES (t) = argtypes; TREE_SIDE_EFFECTS (argtypes) = 1; /* Mark first argtype as "artificial". */ |