]> granicus.if.org Git - clang/commitdiff
Add missing flush call. This is an attempt to fix a broken Windows buildbot.
authorEli Friedman <eli.friedman@gmail.com>
Fri, 16 Dec 2011 22:12:23 +0000 (22:12 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Fri, 16 Dec 2011 22:12:23 +0000 (22:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@146760 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AST/APValue.cpp

index 0d4dea82cc871249e2b19059bb1f19c4e0e521fc..2a68341e5a1800ef98360cfa45a16bc44f1ffee9 100644 (file)
@@ -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;
 }