[llvm-commits] [llvm] r143224 - /llvm/trunk/docs/ProgrammersManual.html
Jim Grosbach
grosbach at apple.com
Fri Oct 28 13:52:20 PDT 2011
Author: grosbach
Date: Fri Oct 28 15:52:20 2011
New Revision: 143224
URL: http://llvm.org/viewvc/llvm-project?rev=143224&view=rev
Log:
Clarify example snippets a bit.
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=143224&r1=143223&r2=143224&view=diff
==============================================================================
--- llvm/trunk/docs/ProgrammersManual.html (original)
+++ llvm/trunk/docs/ProgrammersManual.html Fri Oct 28 15:52:20 2011
@@ -998,7 +998,7 @@
<pre>
for ( ... ) {
std::vector<foo> V;
- use V;
+ // make use of V.
}
</pre>
</div>
@@ -1009,7 +1009,7 @@
<pre>
std::vector<foo> V;
for ( ... ) {
- use V;
+ // make use of V.
V.clear();
}
</pre>
More information about the llvm-commits
mailing list