[cfe-commits] [PATCH] Move name mangling support to AST
Peter Collingbourne
peter at pcc.me.uk
Sat Jan 8 17:42:41 PST 2011
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?
Thanks,
--
Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang-ast-mangle.patch
Type: text/x-diff
Size: 100587 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110109/bbb8d0d0/attachment.patch>
More information about the cfe-commits
mailing list