[GCC-XML]Argument names?

Nicodemus nicodemus at globalite.com.br
Tue Jul 29 12:29:38 EDT 2003


<Paul.Ross at Symbian.Com> writes:
>
>> Nicodemus writes:
>> Currently, GCCXML doesn't output the names of the arguments in functions:
>
> If you only make a declaration then the names are discarded, if you make a
> definition then the names are retained. For example:
>
> int foo_1(int a, int b);
> int foo_2(int a, int b){}
>
> Produces the following xml:
> <snip xml>
> It makes a difference whether you run gccxml on the implementation file or
> the header file.

Thanks for the answer! But I'm really interested in parsing header files, so
there's any way to obtain the argument names for them? If not, there's any
plan to add support for this?

Regards,
Nicodemus.




More information about the gccxml mailing list