[llvm-commits] [llvm] r77017 - /llvm/trunk/docs/CodingStandards.html

Daniel Dunbar daniel at zuster.org
Fri Jul 24 16:54:34 PDT 2009


Author: ddunbar
Date: Fri Jul 24 18:54:34 2009
New Revision: 77017

URL: http://llvm.org/viewvc/llvm-project?rev=77017&view=rev
Log:
Tweak, raw_ostream is a ostream, not iostream replacement

Modified:
    llvm/trunk/docs/CodingStandards.html

Modified: llvm/trunk/docs/CodingStandards.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/CodingStandards.html?rev=77017&r1=77016&r2=77017&view=diff

==============================================================================
--- llvm/trunk/docs/CodingStandards.html (original)
+++ llvm/trunk/docs/CodingStandards.html Fri Jul 24 18:54:34 2009
@@ -948,10 +948,10 @@
 
 <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>





More information about the llvm-commits mailing list