aboutsummaryrefslogtreecommitdiff
path: root/gcc/c/c-tree.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c/c-tree.h')
-rw-r--r--gcc/c/c-tree.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/gcc/c/c-tree.h b/gcc/c/c-tree.h
index dffefa3fd1a..cdfb9080346 100644
--- a/gcc/c/c-tree.h
+++ b/gcc/c/c-tree.h
@@ -460,9 +460,15 @@ struct c_declarator {
/* Except for cdk_id, the contained declarator. For cdk_id, NULL. */
struct c_declarator *declarator;
union {
- /* For identifiers, an IDENTIFIER_NODE or NULL_TREE if an abstract
- declarator. */
- tree id;
+ /* For identifiers. */
+ struct {
+ /* An IDENTIFIER_NODE, or NULL_TREE if an abstract
+ declarator. */
+ tree id;
+ /* Any attributes (which apply to the declaration rather than to
+ the type described by the outer declarators). */
+ tree attrs;
+ } id;
/* For functions. */
struct c_arg_info *arg_info;
/* For arrays. */