diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-07-24 23:54:34 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-07-24 23:54:34 +0000 |
commit | 4bd53c6479e96d0a9f8e4aadc820e282fee058fe (patch) | |
tree | fd2d9b1e8766cafb63e8d8b5ca72fb2a4d28beea /llvm/docs/CodingStandards.html | |
parent | 15d3967f92cb0318c7a1c1fd6d4576a3bb708dc4 (diff) | |
download | bcm5719-llvm-4bd53c6479e96d0a9f8e4aadc820e282fee058fe.tar.gz bcm5719-llvm-4bd53c6479e96d0a9f8e4aadc820e282fee058fe.zip |
Tweak, raw_ostream is a ostream, not iostream replacement
llvm-svn: 77017
Diffstat (limited to 'llvm/docs/CodingStandards.html')
-rw-r--r-- | llvm/docs/CodingStandards.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/docs/CodingStandards.html b/llvm/docs/CodingStandards.html index 2d83f0bf62a..f66a7c2154e 100644 --- a/llvm/docs/CodingStandards.html +++ b/llvm/docs/CodingStandards.html @@ -948,10 +948,10 @@ it's better to use a literal <tt>'\n'</tt>.</p> <p>LLVM includes a lightweight, simple, and efficient stream implementation in <tt>llvm/Support/raw_ostream.h</tt> which provides all of the common features -of <tt>std::iostream</tt>. All new code should use <tt>raw_ostream</tt> instead -of <tt>iostream</tt>.</p> +of <tt>std::ostream</tt>. All new code should use <tt>raw_ostream</tt> instead +of <tt>ostream</tt>.</p> -<p>Unlike <tt>std::iostream</tt>, <tt>raw_ostream</tt> is not a template and can +<p>Unlike <tt>std::ostream</tt>, <tt>raw_ostream</tt> is not a template and can be forward declared as <tt>class raw_ostream</tt>. Public headers should generally not include the <tt>raw_ostream</tt> header, but use forward declarations and constant references to <tt>raw_ostream</tt> instances.</p> |