[GCC-XML]Ellipsis

Brad King brad.king at kitware.com
Wed Aug 7 16:36:39 EDT 2002


Kevin,

> Why is this the body of some Method elements and not others and what
> exactly is omitted?

The elements nested inside function and method elements are the arguments
to the method.  If the method is declared with an ellipsis (the ...
argument), the ellipsis element represents it.

For example:

void Function(...);

produces

<Function id="_2" name="Function"
          returns="_3" context="_1"
          location="f0:1" extern="1">
  <Ellipsis/>
</Function>

-Brad




More information about the gccxml mailing list