[GCC-XML]Exception specifiers?

Nicodemus nicodemus at globalite.com.br
Fri Jun 13 17:21:03 EDT 2003


Brad King wrote:

>Hi Nicodemus,
>
>I've finally had time to implement this.  The support is now in the CVS
>version of GCC-XML.  You'll have to build the gccxml_cc1plus executable to
>get it.  The dump appears as follows:
>
>void foo1();     // No change to dump.
>void foo2() throw();   // Dumps throw="" attribute in the function.
>void foo3() throw(int, float);   // Dumps throw="_6 _9" attribute.
>
>The "throw" attribute is a space-separated list of the types the function
>can throw (in no particular order).  If the attribute is present but has
>no types listed, the throw specification "throw()" was given in the
>source.  If the attribute is not present, there was no throw
>specification.
>
>-Brad
>
Nice Brad, thanks a lot!

Regards,
Nicodemus.




More information about the gccxml mailing list