diff options
Diffstat (limited to 'lib/Support/Streams.cpp')
-rw-r--r-- | lib/Support/Streams.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/Support/Streams.cpp b/lib/Support/Streams.cpp index 122955ff4e..cf6cfeb7fd 100644 --- a/lib/Support/Streams.cpp +++ b/lib/Support/Streams.cpp @@ -19,3 +19,12 @@ 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 |