[PATCH] clang-cl: Flush stdout after writing the /showIncludes output

Ehsan Akhgari ehsan.akhgari at gmail.com
Thu Jul 17 12:16:52 PDT 2014


Closed by commit rL213297 (authored by @ehsan).

REPOSITORY
  rL LLVM

http://reviews.llvm.org/D4559

Files:
  cfe/trunk/lib/Frontend/HeaderIncludeGen.cpp

Index: cfe/trunk/lib/Frontend/HeaderIncludeGen.cpp
===================================================================
--- cfe/trunk/lib/Frontend/HeaderIncludeGen.cpp
+++ cfe/trunk/lib/Frontend/HeaderIncludeGen.cpp
@@ -131,5 +131,6 @@
     Msg += '\n';
 
     OutputFile->write(Msg.data(), Msg.size());
+    OutputFile->flush();
   }
 }
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4559.11605.patch
Type: text/x-patch
Size: 337 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140717/3687b781/attachment.bin>


More information about the cfe-commits mailing list