Another example of using the llvm IO streams.
authorBill Wendling <isanbard@gmail.com>
Sat, 9 Dec 2006 01:27:51 +0000 (01:27 +0000)
committerBill Wendling <isanbard@gmail.com>
Sat, 9 Dec 2006 01:27:51 +0000 (01:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32391 91177308-0d34-0410-b5e6-96231b3b80d8

docs/CodingStandards.html

index 40d08383a8381bd75cf2916d77e72a9a921af326..72ca77535d4046dd169615c3f4f5a6b50800c3b3 100644 (file)
@@ -547,6 +547,13 @@ library. There are two problems with this:</p>
       <td align="left"><pre>std::stringstream</pre></td>
       <td align="left"><pre>llvm::StringStream</pre></td>
     </tr>
+    <tr>
+      <td align="left"><pre>void print(std::ostream &Out);
+// ...
+print(std::cerr);</pre></td>
+      <td align="left"><pre>void print(std::ostream &Out);
+// ...
+print(*llvm::cerr.stream());</pre></td>
   </tbody>
 </table>