diff options
Diffstat (limited to 'lib/AST/APValue.cpp')
-rw-r--r-- | lib/AST/APValue.cpp | 1 |
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; } |