c-ada-spec.c (dump_ada_function_declaration): Add comment about the treatment of...
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 24 Feb 2017 10:21:39 +0000 (10:21 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Fri, 24 Feb 2017 10:21:39 +0000 (10:21 +0000)
commit59909673d11f6e1a0655c360c96653e9b0a37b84
treedf12757df9ec86f21787ed3c08d95ad2187e1379
parent8ff873dcdc0b87cbb30a1a951384293cc2d15a41
c-ada-spec.c (dump_ada_function_declaration): Add comment about the treatment of parameters with pointer-to-tagged type and...

c-family/
* c-ada-spec.c (dump_ada_function_declaration): Add comment about the
treatment of parameters with pointer-to-tagged type and tidy up.
(print_ada_methods): Remove the special treatment of C++ static member
functions.
ada/
* gcc-interface/decl.c: Include demangle.h.
(is_cplusplus_method): Return again true for a primitive operation
only if it is dispatching.  For a subprogram with an interface name,
call the demangler to get the number of C++ parameters and compare it
with the number of Ada parameters.

From-SVN: r245700
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c
gcc/c-family/ChangeLog
gcc/c-family/c-ada-spec.c