Another example of using the llvm IO streams.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32391 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling 2006-12-09 01:27:51 +00:00
parent 7f564c02cf
commit 0f7c10d7b6

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>