This is the mail archive of the gcc@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: Question about DECL_RESULT macro


Ira Ruben wrote:
> However, the DECL_RESULT macro is defined (in tree.h) to do a
> FUNCTION_DECL_CHECK.  That only checks for FUNCTION_DECL nodes and
> will fail for a TEMPLATE_DECL node.  So, is the TEMPLATE_DECL comment
> wrong in cp/cp-tree.def for DECL_RESULT and should that just be
> DECL_TEMPLATE_RESULT instead?
The comment is wrong, can you provide a corrective patch?

nathan

-- 
Dr Nathan Sidwell   ::   http://www.codesourcery.com   ::   CodeSourcery LLC
         'But that's a lie.' - 'Yes it is. What's your point?'
nathan@codesourcery.com : http://www.cs.bris.ac.uk/~nathan/ : nathan@acm.org


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