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]
Other format: [Raw text]

Re: [PATCH] PR c++/26693


I think putting the code to create typedef variants for class scope typedefs belongs in grokfield rather than grokdeclarator.

This patch should also update the code in pushdecl_maybe_friend and save_template_attributes that creates typedef variants; the code in save_template_attributes may not be necessary anymore, and if it still is I'd like to know why.

It also seems that we need clone_underlying_type to propagate TYPE_STUB_DECL.

Jason


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