c-ada-spec.c (print_ada_declaration): For typedef declarations...
authorEric Botcazou <ebotcazou@adacore.com>
Sun, 13 Nov 2016 17:37:35 +0000 (17:37 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sun, 13 Nov 2016 17:37:35 +0000 (17:37 +0000)
commit4be719cdc2bc900370de83e1cce1f3c7eb4a8ba6
tree3537b60c1c3fed6aaa55f61e5a866f181e9baa4c
parent4ebd491f2aed6d174c976f07d67c4b957f71391d
c-ada-spec.c (print_ada_declaration): For typedef declarations...

* c-ada-spec.c (print_ada_declaration): For typedef declarations, look
for nested types only if the type is a record or union and dump SLOC.

From-SVN: r242356
gcc/c-family/ChangeLog
gcc/c-family/c-ada-spec.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/dump-ada-spec-6.c [new file with mode: 0644]