On Wed, Aug 19, 2009 at 12:10 PM, Daniel Dunbar<[email protected]> wrote:
> Author: ddunbar
> Date: Wed Aug 19 14:10:30 2009
> New Revision: 79448
>
> URL: http://llvm.org/viewvc/llvm-project?rev=79448&view=rev
> Log:
> Convert parts of Rewriter to StringRef based API.
>  - Please accept my sincere apologies for the gratuitous elimination of code
>   duplication, manual string length counting, unnecessary strlen calls, etc.

I didn't quite have the energy to take it on, but RewriteObjC.cpp
should take advantage of this cleanup as well. Switch the InsertText
and RewriteText methods to StringRef should make the code simpler and
shorter.

 - Daniel

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to