r181699 - Fixes [Bug 15960] YAMLTraits doesn't roundtrip on Windows.
Alexander Kornienko
alexfh at google.com
Mon May 13 05:41:08 PDT 2013
Author: alexfh
Date: Mon May 13 07:41:08 2013
New Revision: 181699
URL: http://llvm.org/viewvc/llvm-project?rev=181699&view=rev
Log:
Fixes [Bug 15960] YAMLTraits doesn't roundtrip on Windows.
Thanks to Kim Gräsman for help!
Modified:
cfe/trunk/lib/Format/Format.cpp
Modified: cfe/trunk/lib/Format/Format.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Format/Format.cpp?rev=181699&r1=181698&r2=181699&view=diff
==============================================================================
--- cfe/trunk/lib/Format/Format.cpp (original)
+++ cfe/trunk/lib/Format/Format.cpp Mon May 13 07:41:08 2013
@@ -191,6 +191,7 @@ std::string configurationAsText(const Fo
// reference here.
FormatStyle NonConstStyle = Style;
Output << NonConstStyle;
+ Stream.flush();
return Text;
}
More information about the cfe-commits
mailing list