[cfe-commits] [PATCH] Refactor redeclarable template declarations (was Re: [Request for approval] Allow clang library applications to get specializations)

Peter Collingbourne peter at pcc.me.uk
Wed Jul 28 19:15:26 PDT 2010


On Tue, Jul 27, 2010 at 10:29:14PM +0300, Argyrios Kyrtzidis wrote:
> On Jul 27, 2010, at 10:17 PM, Peter Collingbourne wrote:
> > I also have been working on a patch that refactors common code in the
> > FunctionTemplateDecl and ClassTemplateDecl classes into a common base
> > class (and provides an implementation of getLatestRedeclaration()
> > for those two classes); I intend to build this work on top of the
> > refactoring (I'll send out the patch soon).
> 
> Seems like a great plan!

I managed to get the refactoring patches into good enough shape to send out;
they are attached.  OK to commit?

I'll start working on the iterator patch in the next day or so.

Thanks,
-- 
Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Refactor-redeclarable-template-declarations.patch
Type: text/x-diff
Size: 35705 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20100729/2442569f/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Store-latest-redeclaration-for-each-redeclarable-tem.patch
Type: text/x-diff
Size: 2628 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20100729/2442569f/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Implement-RedeclarableTemplateDecl-getNextRedeclarat.patch
Type: text/x-diff
Size: 1806 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20100729/2442569f/attachment-0002.patch>


More information about the cfe-commits mailing list