diff options
author | Manuel Klimek <klimek@google.com> | 2012-06-05 20:16:30 +0000 |
---|---|---|
committer | Manuel Klimek <klimek@google.com> | 2012-06-05 20:16:30 +0000 |
commit | d6f6569bf693da3f8efd8ce7ae93fbbfccf09753 (patch) | |
tree | de3650325f58ef010aa0bbf6c654cef595da94cd | |
parent | f4bd4d8fe029ca314c2c61edb1d2a65bc18cdbf2 (diff) |
Fixes the refactoring library test in VS2010.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158019 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | unittests/Tooling/RewriterTestContext.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/unittests/Tooling/RewriterTestContext.h b/unittests/Tooling/RewriterTestContext.h index edcf77c22f..73f9aa662f 100644 --- a/unittests/Tooling/RewriterTestContext.h +++ b/unittests/Tooling/RewriterTestContext.h @@ -85,6 +85,7 @@ class RewriterTestContext { std::string Result; llvm::raw_string_ostream OS(Result); Rewrite.getEditBuffer(ID).write(OS); + OS.flush(); return Result; } |