On 25 April 2011 20:06, Jason Merrill <ja...@redhat.com> wrote: >>> could we use enums instead? >> No reason not to, except that we don't for the cp_cv_quals above. :) I >> followed >> the same approach. > Sure, let's use enums for the named values. But I think we still want to > use the int typedef for variables and parameters.
Would you like me to convert the cp_cv_quals values to enums in the same go? Where should I put the flags for semantic analysis? DECL_LANG_FLAG? Or TREE_LANG_FLAG?