diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2018-02-28 14:14:12 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2018-02-28 14:14:12 +0000 |
commit | 9e25c7ed961ca501496015a68fea46563c177684 (patch) | |
tree | 76cb9c639ac8d17db0c899e6499d15dd91702c4c /libcpp | |
parent | 09de35509f92de3a11a1ca879b958c0f73e28b88 (diff) | |
download | gcc-9e25c7ed961ca501496015a68fea46563c177684.zip gcc-9e25c7ed961ca501496015a68fea46563c177684.tar.gz gcc-9e25c7ed961ca501496015a68fea46563c177684.tar.bz2 |
c-ada-spec.c (dump_ada_double_name): New case.
* c-ada-spec.c (dump_ada_double_name) <ENUMERAL_TYPE>: New case.
(is_char_array): Take a type instead of a declaration.
(dump_ada_array_type): Likewise.
(is_simple_enum): Minor tweak.
(dump_ada_enum_type): New function extracted from...
(dump_ada_node) <ENUMERAL_TYPE>: ...here. Invoke it.
<INTEGER_TYPE>: Remove unreachable code.
<RECORD_TYPE>: Likewise. Minor tweaks.
(dump_nested_type) <ARRAY_TYPE>: Adjust to above changes.
<ENUMERAL_TYPE>: New case.
<RECORD_TYPE>: Factor out common code.
(dump_ada_declaration) <ARRAY_TYPE>: Adjust to above changes.
Minor tweaks. Deal with enumeral types.
(dump_ada_structure): Minor tweaks.
From-SVN: r258067
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions