forked from OSchip/llvm-project
Another example of using the llvm IO streams.
llvm-svn: 32391
This commit is contained in:
parent
2b52dc1753
commit
c78ae26ff8
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue