aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/pt.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2018-04-27 11:55:38 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2018-04-27 11:55:38 +0000
commitd4e15523c1fc225a513d1a21e5eb2b953b4c928d (patch)
tree34be6b729b6efba5f59cc6339cd3e1071a339ef2 /gcc/cp/pt.c
parentae0432915e80ae0fb4d8d7c26341685f0822ffe1 (diff)
downloadgcc-d4e15523c1fc225a513d1a21e5eb2b953b4c928d.zip
gcc-d4e15523c1fc225a513d1a21e5eb2b953b4c928d.tar.gz
gcc-d4e15523c1fc225a513d1a21e5eb2b953b4c928d.tar.bz2
[C++ PATCH] some cleanups
https://gcc.gnu.org/ml/gcc-patches/2018-04/msg01227.html * cp-tree.h (TEMPLATE_INFO): Fix comments. (TI_PENDING_TEMPLATE_FLAG): Check TEMPLATE_INFO. (NON_DEFAULT_TEMPLATE_ARG_COUNT): Wrap line. (dump, print_other_binding_stacks): Remove declarations. * name-lookup.c (print_other_binding_stack): Make static. * pt.c (build_template_decl): Make static. From-SVN: r259704
Diffstat (limited to 'gcc/cp/pt.c')
-rw-r--r--gcc/cp/pt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c
index 9fb8197..a1b2a37 100644
--- a/gcc/cp/pt.c
+++ b/gcc/cp/pt.c
@@ -4674,7 +4674,7 @@ maybe_update_decl_type (tree orig_type, tree scope)
template PARMS and constraints, CONSTR. If MEMBER_TEMPLATE_P is true,
the new template is a member template. */
-tree
+static tree
build_template_decl (tree decl, tree parms, bool member_template_p)
{
tree tmpl = build_lang_decl (TEMPLATE_DECL, DECL_NAME (decl), NULL_TREE);