Mercurial > hg > CbC > CbC_gcc
comparison gcc/godump.c @ 132:d34655255c78
update gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 10:21:07 +0900 |
parents | 84e7813d76e9 |
children | 1830386684a0 |
comparison
equal
deleted
inserted
replaced
130:e108057fa461 | 132:d34655255c78 |
---|---|
1 /* Output Go language descriptions of types. | 1 /* Output Go language descriptions of types. |
2 Copyright (C) 2008-2017 Free Software Foundation, Inc. | 2 Copyright (C) 2008-2018 Free Software Foundation, Inc. |
3 Written by Ian Lance Taylor <iant@google.com>. | 3 Written by Ian Lance Taylor <iant@google.com>. |
4 | 4 |
5 This file is part of GCC. | 5 This file is part of GCC. |
6 | 6 |
7 GCC is free software; you can redistribute it and/or modify it under | 7 GCC is free software; you can redistribute it and/or modify it under |
959 TREE_INT_CST_LOW (DECL_SIZE_UNIT (field)); | 959 TREE_INT_CST_LOW (DECL_SIZE_UNIT (field)); |
960 /* Emit the field name, but not for anonymous records and | 960 /* Emit the field name, but not for anonymous records and |
961 unions. */ | 961 unions. */ |
962 if (!is_anon_substructure) | 962 if (!is_anon_substructure) |
963 { | 963 { |
964 if ((DECL_NAME (field) == NULL)) | 964 if (DECL_NAME (field) == NULL) |
965 *p_art_i = go_append_artificial_name (ob, *p_art_i); | 965 *p_art_i = go_append_artificial_name (ob, *p_art_i); |
966 else | 966 else |
967 go_append_decl_name | 967 go_append_decl_name |
968 (ob, field, container->keyword_hash); | 968 (ob, field, container->keyword_hash); |
969 obstack_1grow (ob, ' '); | 969 obstack_1grow (ob, ' '); |