summaryrefslogtreecommitdiff
path: root/gcc/cp/pt.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/pt.c')
-rw-r--r--gcc/cp/pt.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c
index 575057fd3ef..69c60b4f5af 100644
--- a/gcc/cp/pt.c
+++ b/gcc/cp/pt.c
@@ -2991,8 +2991,10 @@ end_template_decl (void)
current_template_parms = TREE_CHAIN (current_template_parms);
}
-/* Given a template argument vector containing the template PARMS.
- The innermost PARMS are given first. */
+/* Within the declaration of a template, return all levels of template
+ parameters that apply. The template parameters are represented as
+ a TREE_VEC, in the form documented in cp-tree.h for template
+ arguments. */
static tree
current_template_args (void)