aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Support/Streams.h
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2009-02-20 22:51:36 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2009-02-20 22:51:36 +0000
commitfe2cce63aa26d0916fa7be32c6bf7fa8fb059ee7 (patch)
tree0b78d06b18ccfef4e1aad7bbbf9b7f02fb90eb3c /include/llvm/Support/Streams.h
parentd5ece81cc7a908c30e6786b70a4a9db1dd129a8a (diff)
Removed trailing whitespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65196 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/Streams.h')
-rw-r--r--include/llvm/Support/Streams.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Support/Streams.h b/include/llvm/Support/Streams.h
index 33a4ffeb06..445ab98c47 100644
--- a/include/llvm/Support/Streams.h
+++ b/include/llvm/Support/Streams.h
@@ -24,9 +24,9 @@ namespace llvm {
/// BaseStream - Acts like the STL streams. It's a wrapper for the std::cerr,
/// std::cout, std::cin, etc. streams. However, it doesn't require #including
- /// @verbatim <iostream> @endverbatm in every file (doing so increases static
+ /// @verbatim <iostream> @endverbatm in every file (doing so increases static
/// c'tors & d'tors in the object code).
- ///
+ ///
template <typename StreamTy>
class BaseStream {
StreamTy *Stream;
@@ -69,7 +69,7 @@ namespace llvm {
if (Stream) Stream->write(A, N);
return *this;
}
-
+
operator StreamTy* () { return Stream; }
bool operator == (const StreamTy &S) { return &S == Stream; }