[cfe-commits] r48541 - /cfe/trunk/include/clang/Rewrite/Rewriter.h

Chris Lattner clattner at apple.com
Wed Mar 19 13:40:16 PDT 2008


>>> Integrated some of Chris's comments; check for an empty string in  
>>> InsertStrXXX()
>>> before descending into the bowels of the Rewriter.
>>
>> Thanks, but the problem is that c_str() is slow :), please switch  
>> to &S[0] (which is the thing that doesn't work if S is empty)
>>
>
> Ah. Done.

Thanks muchly Ted!

-Chris



More information about the cfe-commits mailing list