summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-07-23 17:18:57 +0000
committerChris Lattner <sabre@nondot.org>2011-07-23 17:18:57 +0000
commit57132e88b7c3c8a4b2df063b92607e46c46dc846 (patch)
tree51dad2185281af8471acb578be6c3fe54be5973d
parent54b1677d23a3a5ab8029540cb29021b0e6c6b64b (diff)
downloadbcm5719-llvm-57132e88b7c3c8a4b2df063b92607e46c46dc846.tar.gz
bcm5719-llvm-57132e88b7c3c8a4b2df063b92607e46c46dc846.zip
how about that, StringRef doesn't allow any mutation, thanks to
Frits for straightening me out. llvm-svn: 135856
-rw-r--r--llvm/docs/ProgrammersManual.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/docs/ProgrammersManual.html b/llvm/docs/ProgrammersManual.html
index 8e9141445af..266c033bb4c 100644
--- a/llvm/docs/ProgrammersManual.html
+++ b/llvm/docs/ProgrammersManual.html
@@ -1280,10 +1280,10 @@ something like that).</li>
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
OpenPOWER on IntegriCloud