[cfe-commits] [PATCH] Move name mangling support to AST

Peter Collingbourne peter at pcc.me.uk
Thu Jan 13 11:06:06 PST 2011


On Thu, Jan 13, 2011 at 07:41:36AM -0800, Douglas Gregor wrote:
> 
> On Jan 8, 2011, at 5:42 PM, Peter Collingbourne wrote:
> 
> > This patch moves name mangling support from CodeGen to AST.  In the
> > process it performs a number of refactorings:
> > 
> > - Move MiscNameMangler member functions to MangleContext
> > - Remove GlobalDecl dependency from MangleContext
> > - Make MangleContext abstract and move Itanium/Microsoft functionality
> >  to their own classes/files
> > - Implement ASTContext::createMangleContext and have CodeGen use it
> > 
> > No (intended) functionality change.  It would be good though if
> > someone familiar with blocks could double check the refactored
> > block name mangling.
> > 
> > OK to commit?
> 
> 
> This looks great to me. Please go ahead and commit!

Thanks, r123386.

-- 
Peter



More information about the cfe-commits mailing list