summaryrefslogtreecommitdiffstats
path: root/clang/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
commit375f09f5bf2d63b9db3960f4723d8ee12fa3e25e (patch)
treeaea8f36b8b86297a263228f44b417e45452ba204 /clang/lib/AST/APValue.cpp
parent864711ee9f0882c61c2ec284e1294b9944e13452 (diff)
downloadbcm5719-llvm-375f09f5bf2d63b9db3960f4723d8ee12fa3e25e.tar.gz
bcm5719-llvm-375f09f5bf2d63b9db3960f4723d8ee12fa3e25e.zip
Add missing flush call. This is an attempt to fix a broken Windows buildbot.
llvm-svn: 146760
Diffstat (limited to 'clang/lib/AST/APValue.cpp')
-rw-r--r--clang/lib/AST/APValue.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/AST/APValue.cpp b/clang/lib/AST/APValue.cpp
index 0d4dea82cc8..2a68341e5a1 100644
--- a/clang/lib/AST/APValue.cpp
+++ b/clang/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;
}
OpenPOWER on IntegriCloud