c-ada-spec.c (print_ada_macros): Remove redundant blank line.
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 30 Nov 2015 12:20:06 +0000 (12:20 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 30 Nov 2015 12:20:06 +0000 (12:20 +0000)
commitf07862c7dd58714d601e776a130deb6df02bf022
tree8ad814cbf8efa1134e6c6e30477eecc09ac41bf9
parentc8a23c29f7e61990d9f3fb36b4dfab8f46efa0ef
c-ada-spec.c (print_ada_macros): Remove redundant blank line.

* c-ada-spec.c (print_ada_macros): Remove redundant blank line.
(decl_sloc_common): Delete and move bulk of processing to...
(decl_sloc): ...here.
(pp_ada_tree_identifier): Remove reference to QUAL_UNION_TYPE.
(dump_ada_double_name): Remove S parameter and compute the suffix.
(dump_ada_array_type): Add PARENT parameter.  Simplify computation of
element type and deal with an anonymous one.
(dump_ada_template): Use RECORD_OR_UNION_TYPE_P macro.
(dump_generic_ada_node): Tweak.  Adjust call to dump_ada_array_type
and remove reference to QUAL_UNION_TYPE.
(dump_nested_types): Make 2 passes on the fields and move bulk to...
(dump_nested_type): ...here.  New function extracted from above.
Generate a full declaration for anonymous element type of arrays.
(print_ada_declaration): Really skip anonymous declarations.  Remove
references to QUAL_UNION_TYPE.  Adjust call to dump_ada_array_type.
Clean up processing of declarations of array types and objects.
(print_ada_struct_decl): Remove reference to QUAL_UNION_TYPE.
Remove obsolete code and tidy up.

From-SVN: r231069
gcc/c-family/ChangeLog
gcc/c-family/c-ada-spec.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/dump-ada-spec-1.c [new file with mode: 0644]
gcc/testsuite/c-c++-common/dump-ada-spec-2.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/dump-ada-spec-1.c [deleted file]