aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-07-24 23:54:34 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-07-24 23:54:34 +0000
commited0da8842fbabe9ed747f23a0d2a8f5b68dbb2a2 (patch)
tree78be9e4e12655209788475c4a443cd2045091d47
parent1d77b5b757da2cbed57255eba1fff84c83d77345 (diff)
downloadexternal_llvm-ed0da8842fbabe9ed747f23a0d2a8f5b68dbb2a2.zip
external_llvm-ed0da8842fbabe9ed747f23a0d2a8f5b68dbb2a2.tar.gz
external_llvm-ed0da8842fbabe9ed747f23a0d2a8f5b68dbb2a2.tar.bz2
Tweak, raw_ostream is a ostream, not iostream replacement
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77017 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--docs/CodingStandards.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/CodingStandards.html b/docs/CodingStandards.html
index 2d83f0b..f66a7c2 100644
--- a/docs/CodingStandards.html
+++ b/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>