[PATCH] D59396: [MsgPack] Attempt to fix failure on windows expensive checks bot

Tim Renouf via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 14 16:27:01 PDT 2019


tpr created this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

My theory is that the failure was caused by me forgetting to flush a
raw_string_ostream.

Change-Id: I9c6208325503b3ee0786b4b688e13fc24a15babf


Repository:
  rL LLVM

https://reviews.llvm.org/D59396

Files:
  lib/BinaryFormat/MsgPackDocumentYAML.cpp


Index: lib/BinaryFormat/MsgPackDocumentYAML.cpp
===================================================================
--- lib/BinaryFormat/MsgPackDocumentYAML.cpp
+++ lib/BinaryFormat/MsgPackDocumentYAML.cpp
@@ -61,7 +61,7 @@
     llvm_unreachable("not scalar");
     break;
   }
-  return S;
+  return OS.str();
 }
 
 /// Convert the StringRef and use it to set this DocNode (assuming scalar). If


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59396.190751.patch
Type: text/x-patch
Size: 396 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190314/3a6576b4/attachment.bin>


More information about the llvm-commits mailing list