[cfe-commits] r158019 - /cfe/trunk/unittests/Tooling/RewriterTestContext.h

Manuel Klimek klimek at google.com
Tue Jun 5 13:16:30 PDT 2012


Author: klimek
Date: Tue Jun  5 15:16:30 2012
New Revision: 158019

URL: http://llvm.org/viewvc/llvm-project?rev=158019&view=rev
Log:
Fixes the refactoring library test in VS2010.

Modified:
    cfe/trunk/unittests/Tooling/RewriterTestContext.h

Modified: cfe/trunk/unittests/Tooling/RewriterTestContext.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/unittests/Tooling/RewriterTestContext.h?rev=158019&r1=158018&r2=158019&view=diff
==============================================================================
--- cfe/trunk/unittests/Tooling/RewriterTestContext.h (original)
+++ cfe/trunk/unittests/Tooling/RewriterTestContext.h Tue Jun  5 15:16:30 2012
@@ -85,6 +85,7 @@
     std::string Result;
     llvm::raw_string_ostream OS(Result);
     Rewrite.getEditBuffer(ID).write(OS);
+    OS.flush();
     return Result;
   }
 





More information about the cfe-commits mailing list