c-ada-spec.c (has_static_fields): Look only into fields.
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 1 Aug 2017 22:15:32 +0000 (22:15 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 1 Aug 2017 22:15:32 +0000 (22:15 +0000)
commit9f2cb25e3f332d2f409455e818a2046fa6089b2d
tree06df53ce2df3abf7303dc81fc410d61614504ea6
parent73380438c9c7ab188f5f21ee27da0f04f89d0417
c-ada-spec.c (has_static_fields): Look only into fields.

* c-ada-spec.c (has_static_fields): Look only into fields.
(dump_generic_ada_node): Small tweak.
(dump_nested_types): Look only into fields.
(print_ada_declaration): Look only into methods.  Small tweak.
(print_ada_struct_decl): Look only into fields.  Use DECL_VIRTUAL_P.

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