aboutsummaryrefslogtreecommitdiffstats
path: root/docs/CodingStandards.html
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2007-09-22 10:03:25 +0000
committerBill Wendling <isanbard@gmail.com>2007-09-22 10:03:25 +0000
commit96802d1602dfde1ba5bca29a78f12d5b6693b8c8 (patch)
treefe086edd26c6ab4b9c3d3cad44d9372aae0e9602 /docs/CodingStandards.html
parent83f4900c8ac52d625bb19bb3e57e62162ee66712 (diff)
downloadexternal_llvm-96802d1602dfde1ba5bca29a78f12d5b6693b8c8.zip
external_llvm-96802d1602dfde1ba5bca29a78f12d5b6693b8c8.tar.gz
external_llvm-96802d1602dfde1ba5bca29a78f12d5b6693b8c8.tar.bz2
Validation fixes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42229 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/CodingStandards.html')
-rw-r--r--docs/CodingStandards.html13
1 files changed, 8 insertions, 5 deletions
diff --git a/docs/CodingStandards.html b/docs/CodingStandards.html
index f631619..6cfe542 100644
--- a/docs/CodingStandards.html
+++ b/docs/CodingStandards.html
@@ -512,7 +512,8 @@ library. There are two problems with this:</p>
more pressure on the VM system on low-memory machines.</li>
</ol>
-<table align="center">
+<div style="align: center">
+<table>
<tbody>
<tr>
<th>Old Way</th>
@@ -553,19 +554,21 @@ dump(DOUT);</pre></td>
<td align="left"><pre>llvm::StringStream</pre></td>
</tr>
<tr>
- <td align="left"><pre>void print(std::ostream &Out);
+ <td align="left"><pre>void print(std::ostream &amp;Out);
// ...
print(std::cerr);</pre></td>
- <td align="left"><pre>void print(std::ostream &Out);
+ <td align="left"><pre>void print(std::ostream &amp;Out);
void print(std::ostream *Out) { if (Out) print(*Out) }
// ...
print(llvm::cerr);</pre>
-<ul><i>N.B.</i> The second <tt>print</tt> method is called by the <tt>print</tt>
+<div class="doc_text">
+<i>N.B.</i> The second <tt>print</tt> method is called by the <tt>print</tt>
expression. It prevents the execution of the first <tt>print</tt> method if the
-stream is <tt>cnull</tt>.</ul></td>
+stream is <tt>cnull</tt>.</div></td>
</tbody>
</table>
+</div>
</div>