aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/APValue.cpp
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2011-12-16 22:12:23 +0000
committerEli Friedman <eli.friedman@gmail.com>2011-12-16 22:12:23 +0000
commitd9ce41e19dfd848a8192c2a7f6f9c5b0f3448076 (patch)
treec7bc8f087e68e2478b2bcab9a55820af4f96ce11 /lib/AST/APValue.cpp
parent1e7fc3d31e17fbe314f86de96aac6e9a2f297167 (diff)
Add missing flush call. This is an attempt to fix a broken Windows buildbot.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@146760 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/APValue.cpp')
-rw-r--r--lib/AST/APValue.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/AST/APValue.cpp b/lib/AST/APValue.cpp
index 0d4dea82cc..2a68341e5a 100644
--- a/lib/AST/APValue.cpp
+++ b/lib/AST/APValue.cpp
@@ -480,6 +480,7 @@ std::string APValue::getAsString(ASTContext &Ctx, QualType Ty) const {
std::string Result;
llvm::raw_string_ostream Out(Result);
printPretty(Out, Ctx, Ty);
+ Out.flush();
return Result;
}