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

Douglas Gregor dgregor at apple.com
Thu Jan 13 07:41:36 PST 2011

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!

	- Doug

More information about the cfe-commits mailing list