c-ada-spec.c (get_underlying_decl): Do not look through typedefs.
authorEric Botcazou <ebotcazou@adacore.com>
Wed, 13 Nov 2019 11:58:46 +0000 (11:58 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Wed, 13 Nov 2019 11:58:46 +0000 (11:58 +0000)
commit2dbad62da9a2b1734aa74b2b0fcf6fb3ff52a4ac
treea738d8dfc1981fad6e056fff988c1f14f57a55b9
parent46927ade0f5933c4eb22b049996fa15080b7f652
c-ada-spec.c (get_underlying_decl): Do not look through typedefs.

* c-ada-spec.c (get_underlying_decl): Do not look through typedefs.
(dump_forward_type): Do not generate a declaration for function types.
(dump_nested_type) <ARRAY_TYPE>: Do not generate a nested declaration
of the component type if it is declared in another file.

From-SVN: r278129
gcc/c-family/ChangeLog
gcc/c-family/c-ada-spec.c