aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Support/FormattedStream.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-09-01 14:20:41 +0000
committerDan Gohman <gohman@apple.com>2010-09-01 14:20:41 +0000
commit9812a163b977b1ba59e96a54d4f84d7f691bcbe5 (patch)
treedbf117519d428f04854447edee010962e68e5753 /lib/Support/FormattedStream.cpp
parentb8c66ef899e05a96095e1d86d8c12daf5bf11b71 (diff)
downloadexternal_llvm-9812a163b977b1ba59e96a54d4f84d7f691bcbe5.zip
external_llvm-9812a163b977b1ba59e96a54d4f84d7f691bcbe5.tar.gz
external_llvm-9812a163b977b1ba59e96a54d4f84d7f691bcbe5.tar.bz2
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
Diffstat (limited to 'lib/Support/FormattedStream.cpp')
-rw-r--r--lib/Support/FormattedStream.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/Support/FormattedStream.cpp b/lib/Support/FormattedStream.cpp
index 77bdfab..c72b5a1 100644
--- a/lib/Support/FormattedStream.cpp
+++ b/lib/Support/FormattedStream.cpp
@@ -98,6 +98,3 @@ formatted_raw_ostream &llvm::fdbgs() {
static formatted_raw_ostream S(dbgs());
return S;
}
-
-/// ~formatted_tool_output_file - Out-of-line destructor.
-formatted_tool_output_file::~formatted_tool_output_file() {}