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

Rafael Ávila de Espíndola rafael.espindola at gmail.com
Wed Feb 9 18:48:54 PST 2011


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.

Cheers,
Rafael

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: raw_svector_ostream.patch
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110209/c8c1ead0/attachment.ksh>


More information about the cfe-commits mailing list