(C++) checks for valid templates

Mark Mitchell mark@codesourcery.com
Tue Aug 31 22:41:00 GMT 1999


>>>>> "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



More information about the Gcc-patches mailing list