aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-07-27 21:46:02 +0000
committerDan Gohman <gohman@apple.com>2009-07-27 21:46:02 +0000
commitf78c835faa97a6f5c8021923c05f7514a550619f (patch)
treea042a05af6b30c13c490808b4b9ff08dbc8f3191 /include
parent2b2954f00ba02ca1a902f47080cd9f06aebc0378 (diff)
downloadexternal_llvm-f78c835faa97a6f5c8021923c05f7514a550619f.zip
external_llvm-f78c835faa97a6f5c8021923c05f7514a550619f.tar.gz
external_llvm-f78c835faa97a6f5c8021923c05f7514a550619f.tar.bz2
Make raw_null_ostream flush its buffer in its destructor, so that
it conforms to the assertion added in r77245. This fixes a failure in qa_override.c in clang's testsuite. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77255 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Support/raw_ostream.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Support/raw_ostream.h b/include/llvm/Support/raw_ostream.h
index 3527984..246fdb9 100644
--- a/include/llvm/Support/raw_ostream.h
+++ b/include/llvm/Support/raw_ostream.h
@@ -420,6 +420,7 @@ class raw_null_ostream : public raw_ostream {
public:
explicit raw_null_ostream() {}
+ ~raw_null_ostream();
};
} // end llvm namespace