[C patch] fix reference to classes with -fdump-ada-spec

Joseph S. Myers joseph@codesourcery.com
Thu Oct 28 19:29:00 GMT 2010


On Thu, 28 Oct 2010, Arnaud Charlet wrote:

> 2010-10-28  Arnaud Charlet  <charlet@adacore.com>
>             Matthew Gingell  <gingell@adacore.com>
> 
> 	* c-ada-spec.c (separate_class_package): New function.
> 	(pp_ada_tree_identifier): Prefix references to C++ classes with the
> 	name of their enclosing package.
> 	(print_ada_declaration): Use separate_class_package.

OK with the duplicate space after "||" in

> +	&& (TYPE_METHODS (type) ||  has_static_fields (type));

fixed, unless there are any objections from C++ maintainers within 24 
hours.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Gcc-patches mailing list