aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/decl2.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2000-06-29 14:03:10 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2000-06-29 14:03:10 +0000
commitc727aa5e2813c510b1da0d8e5f61160c1fa01ceb (patch)
treed93a67a5dabbeae5713903efa5fa698e0af14c2a /gcc/cp/decl2.c
parent0900331b7a7b277ebc5c3644a3dd2de7babfa702 (diff)
downloadgcc-c727aa5e2813c510b1da0d8e5f61160c1fa01ceb.zip
gcc-c727aa5e2813c510b1da0d8e5f61160c1fa01ceb.tar.gz
gcc-c727aa5e2813c510b1da0d8e5f61160c1fa01ceb.tar.bz2
cp-tree.h (SET_DECL_ARTIFICIAL): Remove.
* cp-tree.h (SET_DECL_ARTIFICIAL): Remove. * decl.c (create_implicit_typedef): Adjust. * decl2.c (build_artificial_parm): Adjust. * method.c (implicitly_declare_fn): Adjust. * pt.c (push_inline_template_parms_recursive): Adjust. (process_template_parm): Adjust. (overloaded_template_name): Adjust. * semantics.c (finish_template_template_parm): Adjust. From-SVN: r34780
Diffstat (limited to 'gcc/cp/decl2.c')
-rw-r--r--gcc/cp/decl2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c
index af29ae0..e4dcdea 100644
--- a/gcc/cp/decl2.c
+++ b/gcc/cp/decl2.c
@@ -959,7 +959,7 @@ build_artificial_parm (name, type)
tree parm;
parm = build_decl (PARM_DECL, name, type);
- SET_DECL_ARTIFICIAL (parm);
+ DECL_ARTIFICIAL (parm) = 1;
DECL_ARG_TYPE (parm) = type;
return parm;
}