[PATCH] C++0x, teach the parser to parse virt-specifier-seq for member functions

Jason Merrill jason@redhat.com
Mon Apr 25 18:21:00 GMT 2011


On 04/25/2011 01:23 PM, Ville Voutilainen wrote:
> Would you like me to convert the cp_cv_quals values to enums in the same go?

Sure.

> Where should I put the flags for semantic analysis? DECL_LANG_FLAG?
> Or TREE_LANG_FLAG?

Use a two-bit bit-field in lang_decl_fn.  To avoid a size increase for 
that struct, since it seems (oddly) that we haven't been using 
TREE_LANG_FLAG at all for functions, let's move thunk_p and this_thunk_p 
to TREE_LANG_FLAG.

Jason



More information about the Gcc-patches mailing list