summaryrefslogtreecommitdiff
path: root/docs
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
commitec8f1ea22b25ac950b4f287bf7ecb224d071c9cb (patch)
treefdb9156dca8e32ad87dc01498ad28876e76048e0 /docs
parent87972fa63f0e2631778166e0c258c456ec12db7c (diff)
downloadllvm-ec8f1ea22b25ac950b4f287bf7ecb224d071c9cb.tar.gz
llvm-ec8f1ea22b25ac950b4f287bf7ecb224d071c9cb.tar.bz2
llvm-ec8f1ea22b25ac950b4f287bf7ecb224d071c9cb.tar.xz
how about that, StringRef doesn't allow any mutation, thanks to
Frits for straightening me out. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135856 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/ProgrammersManual.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/ProgrammersManual.html b/docs/ProgrammersManual.html
index 8e9141445a..266c033bb4 100644
--- a/docs/ProgrammersManual.html
+++ b/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