diff options
author | Geoffrey Keating <geoffk@apple.com> | 2004-05-30 00:49:06 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@apple.com> | 2004-05-30 00:49:06 +0000 |
commit | bfe26ddc56ca4f8d31d63844e2b2165c5461a63d (patch) | |
tree | 53fb5889181940508762ddb472618440e4b6aca6 /gcc/gengtype.h | |
parent | 1229d71afe5228fe5df05a0675db34cc3ba471ad (diff) |
Index: libcpp/ChangeLog
2004-05-29 Geoffrey Keating <geoffk@apple.com>
* symtab.c (ht_create): Set entries_owned.
(ht_destroy): Honour entries_owned.
(ht_expand): Likewise.
(ht_load): New.
Index: libcpp/include/ChangeLog
2004-05-29 Geoffrey Keating <geoffk@apple.com>
* symtab.h (struct ht): New field 'entries_owned'
(ht_load): New prototype.
Index: gcc/ChangeLog
2004-05-29 Geoffrey Keating <geoffk@apple.com>
* gengtype-yacc.y: Add NESTED_PTR token.
(option): Record `nested_ptr' option.
* gengtype-lex.l: Handle `nested_ptr' keyword.
* gengtype.c (walk_type): Process `nested_ptr' option.
* gengtype.h (struct nested_ptr_data): New.
* doc/gty.texi (GTY Options): Document `nested_ptr' option.
* stringpool.c (struct string_pool_data): Make 'entries' point to
ht_identifier instead of tree.
(gt_pch_save_stringpool): Don't adjust pointers.
(gt_pch_restore_stringpool): Call ht_load.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@82438 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gengtype.h')
-rw-r--r-- | gcc/gengtype.h | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/gcc/gengtype.h b/gcc/gengtype.h index 55ece115073..bf3c5624ced 100644 --- a/gcc/gengtype.h +++ b/gcc/gengtype.h @@ -37,6 +37,17 @@ enum typekind { TYPE_PARAM_STRUCT }; +typedef struct pair *pair_p; +typedef struct type *type_p; +typedef unsigned lang_bitmap; + +/* Option data for the 'nested_ptr' option. */ +struct nested_ptr_data { + type_p type; + const char *convert_to; + const char *convert_from; +}; + /* A way to pass data through to the output end. */ typedef struct options { struct options *next; @@ -44,10 +55,6 @@ typedef struct options { const void *info; } *options_p; -typedef struct pair *pair_p; -typedef struct type *type_p; -typedef unsigned lang_bitmap; - /* A name and a type. */ struct pair { pair_p next; |