[llvm-commits] [llvm] r135856 - /llvm/trunk/docs/ProgrammersManual.html
Chris Lattner
sabre at nondot.org
Sat Jul 23 10:18:57 PDT 2011
Author: lattner
Date: Sat Jul 23 12:18:57 2011
New Revision: 135856
URL: http://llvm.org/viewvc/llvm-project?rev=135856&view=rev
Log:
how about that, StringRef doesn't allow any mutation, thanks to
Frits for straightening me out.
Modified:
llvm/trunk/docs/ProgrammersManual.html
Modified: llvm/trunk/docs/ProgrammersManual.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/ProgrammersManual.html?rev=135856&r1=135855&r2=135856&view=diff
==============================================================================
--- llvm/trunk/docs/ProgrammersManual.html (original)
+++ llvm/trunk/docs/ProgrammersManual.html Sat Jul 23 12:18:57 2011
@@ -1280,10 +1280,10 @@
method if the method "computes" the result string. Instead, use
std::string.</li>
-<li>StringRef's allow you to mutate the pointed-to string bytes, but because it
-doesn't own the string, it doesn't allow you to insert or remove bytes from
-the range. For editing operations like this, it interoperates with the
-<a href="#dss_twine">Twine</a> class.</li>
+<li>StringRef's do not allow you to mutate the pointed-to string bytes and it
+doesn't allow you to insert or remove bytes from the range. For editing
+operations like this, it interoperates with the <a
+href="#dss_twine">Twine</a> class.</li>
</ol>
<p>Because of its strengths and limitations, it is very common for a function to
More information about the llvm-commits
mailing list