summaryrefslogtreecommitdiff
path: root/lib/Support/Streams.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-23 21:50:26 +0000
committerChris Lattner <sabre@nondot.org>2009-08-23 21:50:26 +0000
commit28fb7c4a9a7ebabfd44d436028425862fbf01153 (patch)
treecb10f01fa67b069540061c16d9addb7a34e99eb5 /lib/Support/Streams.cpp
parente0c86afac63a2dbbcff0ad79ed7b93d860451385 (diff)
downloadllvm-28fb7c4a9a7ebabfd44d436028425862fbf01153.tar.gz
llvm-28fb7c4a9a7ebabfd44d436028425862fbf01153.tar.bz2
llvm-28fb7c4a9a7ebabfd44d436028425862fbf01153.tar.xz
llvm/Support/Streams.h is now dead, zap it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79865 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Streams.cpp')
-rw-r--r--lib/Support/Streams.cpp30
1 files changed, 0 insertions, 30 deletions
diff --git a/lib/Support/Streams.cpp b/lib/Support/Streams.cpp
deleted file mode 100644
index cf6cfeb7fd..0000000000
--- a/lib/Support/Streams.cpp
+++ /dev/null
@@ -1,30 +0,0 @@
-//===-- Streams.cpp - Wrappers for iostreams ------------------------------===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file implements a wrapper for the std::cout and std::cerr I/O streams.
-// It prevents the need to include <iostream> to each file just to get I/O.
-//
-//===----------------------------------------------------------------------===//
-
-#include "llvm/Support/Streams.h"
-#include <iostream>
-using namespace llvm;
-
-OStream llvm::cout(std::cout);
-OStream llvm::cerr(std::cerr);
-IStream llvm::cin(std::cin);
-
-namespace llvm {
-
-/// FlushStream - Function called by BaseStream to flush an ostream.
-void FlushStream(std::ostream &S) {
- S << std::flush;
-}
-
-} // end anonymous namespace