[PATCH, 3.4] Backport several C++ patches

Giovanni Bajo rasky@develer.com
Tue Jul 26 02:22:00 GMT 2005


Hello,

this patch backports a few C++ patches to the 3.4 branch. The backports are
mostly obvious.

The only non-trivial change I had to make was to add a function to grep the
decl_specifiers for a 'typedef': I put the code into a new function
cp_parser_typedef_p, which is copy-n-pasted from cp_parser_friend_p. The
mainline version of the patch uses the new specific data structure for
decl_specifiers, which requires no tree traversal.

Tested on i686-pc-linux-gnu, OK for 3.4?

Giovanni Bajo
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: backport-34-1.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050726/8b0ef283/attachment.txt>


More information about the Gcc-patches mailing list