This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: (C++) checks for valid templates
- To: jason@cygnus.com
- Subject: Re: (C++) checks for valid templates
- From: Mark Mitchell <mark@codesourcery.com>
- Date: Thu, 19 Aug 1999 14:41:28 -0700
- Cc: gcc-patches@gcc.gnu.org
- Organization: CodeSourcery, LLC
- References: <199908192113.OAA15441@yorick.cygnus.com>
>>>>> "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