Make tool_output_file's raw_ostream instance a member variable instead
authorDan Gohman <gohman@apple.com>
Wed, 1 Sep 2010 14:20:41 +0000 (14:20 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 1 Sep 2010 14:20:41 +0000 (14:20 +0000)
commitd4c454317a38d65957edebe62bfc69fc8d9885e8
treedbf117519d428f04854447edee010962e68e5753
parent41154114f64c1531764236e9268d2a5ac52e3e91
Make tool_output_file's raw_ostream instance a member variable instead
of a base class.

This makes it possible to unregister the file from FilesToRemove when
the file is done. Also, this eliminates the need for
formatted_tool_output_file.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112706 91177308-0d34-0410-b5e6-96231b3b80d8
19 files changed:
include/llvm/Support/FormattedStream.h
include/llvm/Support/raw_ostream.h
lib/Support/FormattedStream.cpp
lib/Support/raw_ostream.cpp
tools/bugpoint/ExtractFunction.cpp
tools/bugpoint/OptimizerDriver.cpp
tools/llc/llc.cpp
tools/llvm-as/llvm-as.cpp
tools/llvm-dis/llvm-dis.cpp
tools/llvm-extract/llvm-extract.cpp
tools/llvm-ld/llvm-ld.cpp
tools/llvm-link/llvm-link.cpp
tools/llvm-mc/llvm-mc.cpp
tools/lto/LTOCodeGenerator.cpp
tools/lto/LTOCodeGenerator.h
tools/opt/GraphPrinters.cpp
tools/opt/opt.cpp
utils/FileUpdate/FileUpdate.cpp
utils/TableGen/TableGen.cpp