projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e62147
)
Add missing flush().
author
Daniel Dunbar
<daniel@zuster.org>
Sun, 2 Aug 2009 04:12:28 +0000
(
04:12
+0000)
committer
Daniel Dunbar
<daniel@zuster.org>
Sun, 2 Aug 2009 04:12:28 +0000
(
04:12
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77859
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Support/Twine.cpp
patch
|
blob
|
history
diff --git
a/lib/Support/Twine.cpp
b/lib/Support/Twine.cpp
index 8b8c0f0db80ce272413a0b455f7fc750c9a4cdd6..611af8c5ae025b07ede27aba089d1c3b57f5c6d7 100644
(file)
--- a/
lib/Support/Twine.cpp
+++ b/
lib/Support/Twine.cpp
@@
-12,9
+12,12
@@
using namespace llvm;
std::string Twine::str() const {
+ // FIXME: This should probably use the toVector implementation, once that is
+ // efficient.
std::string Res;
raw_string_ostream OS(Res);
print(OS);
+ OS.flush();
return Res;
}