This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: (C++) checks for valid templates


>>>>> "Jason" == Jason Merrill <jason@cygnus.com> writes:

    Jason> Now that random decls have DECL_LANG_SPECIFIC (was that
    Jason> intentional, Mark?)

Yup.  Local declarations in template bodies now have
DECL_LANG_SPECIFIC because they are stored as declarations, rather
than as a declarator/declspecs pair.  They're just non-primary
templates, now.

Thanks for fixing up the checks in processing_template_decl.

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]