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

NAKAMURA Takumi geek4civic at gmail.com
Thu Sep 8 03:10:19 PDT 2011


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