Clarify example snippets a bit.
authorJim Grosbach <grosbach@apple.com>
Fri, 28 Oct 2011 20:52:20 +0000 (20:52 +0000)
committerJim Grosbach <grosbach@apple.com>
Fri, 28 Oct 2011 20:52:20 +0000 (20:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143224 91177308-0d34-0410-b5e6-96231b3b80d8

docs/ProgrammersManual.html

index 4460224c1a61104c327c052890977f9da4c4fd3a..2cdcd270bf369e179c67151557c02f18fa8f2f83 100644 (file)
@@ -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>