search for: 852ca59f

Displaying 2 results from an estimated 2 matches for "852ca59f".

2011 Jul 24
0
[LLVMdev] Correct use of StringRef and Twine
...e (1) solution eventually either. Thanks, - David -------------- next part -------------- A non-text attachment was scrubbed... Name: twine_explicit_char.patch Type: application/octet-stream Size: 4365 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110724/852ca59f/attachment.obj> -------------- next part -------------- A non-text attachment was scrubbed... Name: twine_explicit_char_union.patch Type: application/octet-stream Size: 15243 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110724/852ca59f/attachment-0001...
2011 Jul 23
2
[LLVMdev] Correct use of StringRef and Twine
On Jul 22, 2011, at 2:59 PM, David Blaikie wrote: >> The dangerous part of this is that characters are integers, so "foo" + 'x' is very likely to cause serious problems. > > std::string already provides such overloads though, doesn't it? So the > code isn't any safer from accidental "foo" + 'x' expressions that > don't include