summaryrefslogtreecommitdiffstats
path: root/docs/ProgrammersManual.html
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2011-10-28 20:52:20 +0000
committerJim Grosbach <grosbach@apple.com>2011-10-28 20:52:20 +0000
commit087f050bf9e033a97afce7c061e0831b6f1a442c (patch)
tree8c89b666afa1dc769f247d7e0334114c99d99079 /docs/ProgrammersManual.html
parentb3727fe3ec3b3a718935a6d6c6561e9a58a14546 (diff)
downloadexternal_llvm-087f050bf9e033a97afce7c061e0831b6f1a442c.zip
external_llvm-087f050bf9e033a97afce7c061e0831b6f1a442c.tar.gz
external_llvm-087f050bf9e033a97afce7c061e0831b6f1a442c.tar.bz2
Clarify example snippets a bit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143224 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/ProgrammersManual.html')
-rw-r--r--docs/ProgrammersManual.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ProgrammersManual.html b/docs/ProgrammersManual.html
index 4460224..2cdcd27 100644
--- a/docs/ProgrammersManual.html
+++ b/docs/ProgrammersManual.html
@@ -998,7 +998,7 @@ vector is also useful when interfacing with code that expects vectors :).
<pre>
for ( ... ) {
std::vector&lt;foo&gt; V;
- use V;
+ // make use of V.
}
</pre>
</div>
@@ -1009,7 +1009,7 @@ for ( ... ) {
<pre>
std::vector&lt;foo&gt; V;
for ( ... ) {
- use V;
+ // make use of V.
V.clear();
}
</pre>