Another example of using the llvm IO streams.

llvm-svn: 32391
This commit is contained in:
Bill Wendling 2006-12-09 01:27:51 +00:00
parent 2b52dc1753
commit c78ae26ff8
1 changed files with 7 additions and 0 deletions

View 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>