[llvm-commits] [llvm] r139279 - /llvm/trunk/utils/TableGen/FixedLenDecoderEmitter.cpp

Andrew Trick atrick at apple.com
Thu Sep 8 08:55:22 PDT 2011


Takumi,

Thanks for the IRC hint. Can you confirm that this fixes it for you!

-Andy

On Sep 8, 2011, at 3:10 AM, NAKAMURA Takumi wrote:

> Andy, cheers to the Internet! ;)
> Arigato!
> 
> James,
> I wish clang could detect such a temporary_std_string.c_str().
> FYI, I found the issue here; http://bb.pgr.jp/
> 
> David,
>>> str.slice(1,str.size())
>> This could be written more simply as str.substr(1), if I'm not mistaken.
> 
> Sure. I reminded StringRef::substr(1) would be shorter since when I
> had seen the snippet on the Internet.
> (yeah, it's trivial though it is not in LLVM libs)
> 
> ...Takumi




More information about the llvm-commits mailing list