[cfe-commits] [patch] Use raw_svector_ostream in more places in the mangler

John McCall rjmccall at apple.com
Thu Feb 10 09:58:34 PST 2011


On Feb 9, 2011, at 6:48 PM, Rafael Ávila de Espíndola wrote:
> I wrote this while working on PR9177, but it is independent, so I am sending it first.
> 
> Most of the Mangle methods just create a raw_svector_ostream with the buffer that they get. This patch changes some of those methods to get a raw_svector_ostream directly. This avoids the creation of some temporary buffers.

Looks good to me.

John.



More information about the cfe-commits mailing list