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;
   }
 


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to