<div dir="ltr">using the same identifier as a standard type like 'string' is probably a bit sketchy... though I'm not sure what other names might suit<br><br>Why does SmallString need an explicit StringRef-izing function anyway (thus freeing up the name 'str')? That seems like a reasonable implicit conversion that'd rarely be needed to be explicit... but perhaps I'm wrong.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 15, 2014 at 2:53 AM, Yaron Keren <span dir="ltr"><<a href="mailto:yaron.keren@gmail.com" target="_blank">yaron.keren@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="rtl"><div dir="ltr">SmallString conversion to std::string is currently done by going through a StringRef, S.str().str(). This patch provides a direct conversion function, S.string().</div><span class="HOEnZb"><font color="#888888"><div dir="ltr"><br></div><div dir="ltr">Yaron</div><div dir="ltr"><br></div></font></span></div>
<br>_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
<br></blockquote></div><br></div>