diff options
author | Dan Gohman <gohman@apple.com> | 2010-07-26 21:29:50 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-07-26 21:29:50 +0000 |
commit | 55c6570bf6f4342203eb0ff0816fe28e6c55964a (patch) | |
tree | 417cb63cbc67a72a43ebd4514618998d6a99ee49 /include/clang/Frontend/DocumentXML.h | |
parent | 3c46e8db99196179b30e7ac5c20c4efd5f3926d7 (diff) |
It's not necessary to call flush() on a raw_ostream immediately prior
to deleting it.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@109441 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Frontend/DocumentXML.h')
-rw-r--r-- | include/clang/Frontend/DocumentXML.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/clang/Frontend/DocumentXML.h b/include/clang/Frontend/DocumentXML.h index 73d892105f..602d846558 100644 --- a/include/clang/Frontend/DocumentXML.h +++ b/include/clang/Frontend/DocumentXML.h @@ -150,7 +150,6 @@ inline void DocumentXML::addAttribute(const char* pName, const T& value) { { llvm::raw_string_ostream buf(repr); buf << value; - buf.flush(); } Out << ' ' << pName << "=\"" |