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: tweak in push_template_decl_real


>>>>> Mark Mitchell <mark@markmitchell.com> writes:

> +   if (!DECL_CONTEXT (t) 
> +       || !IS_AGGR_TYPE_CODE (TREE_CODE (DECL_CONTEXT (t))))

You can use DECL_CLASS_SCOPE_P for this.  Otherwise, OK.

Jason


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