summaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
authorgdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2007-02-04 00:37:32 +0000
committergdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2007-02-04 00:37:32 +0000
commit98467bd897ac0b980a9f89298f02edd0f1a8037f (patch)
tree728d1a324ac8d1c7666f0826067d7bb086ac550f /gcc/cp
parentbf73ef6453eba74c8a6c8cdd1dcefcf6e29cb0aa (diff)
downloadgcc-98467bd897ac0b980a9f89298f02edd0f1a8037f.tar.gz
* decl.c (grokdeclarator): Update documentation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121561 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp')
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/decl.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 47ac05fe867..661f89d7793 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,7 @@
+2007-02-03 Gabriel Dos Reis <gdr@integrable-solutions.net>
+
+ * decl.c (grokdeclarator): Update documentation.
+
2007-02-02 Jakub Jelinek <jakub@redhat.com>
PR c++/30536
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c
index a98d902da93..663bc5ac12f 100644
--- a/gcc/cp/decl.c
+++ b/gcc/cp/decl.c
@@ -6873,8 +6873,8 @@ check_var_type (tree identifier, tree type)
the name and type of the object declared and construct a DECL node
for it.
- DECLSPECS is a chain of tree_list nodes whose value fields
- are the storage classes and type specifiers.
+ DECLSPECS points to the representation of declaration-specifier
+ sequence that precedes declarator.
DECL_CONTEXT says which syntactic context this declaration is in:
NORMAL for most contexts. Make a VAR_DECL or FUNCTION_DECL or TYPE_DECL.