diff options
Diffstat (limited to 'llvm/lib/BinaryFormat/MsgPackDocumentYAML.cpp')
-rw-r--r-- | llvm/lib/BinaryFormat/MsgPackDocumentYAML.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/BinaryFormat/MsgPackDocumentYAML.cpp b/llvm/lib/BinaryFormat/MsgPackDocumentYAML.cpp index ae67d7be132..1d9c81ef8eb 100644 --- a/llvm/lib/BinaryFormat/MsgPackDocumentYAML.cpp +++ b/llvm/lib/BinaryFormat/MsgPackDocumentYAML.cpp @@ -61,7 +61,7 @@ std::string DocNode::toString() const { llvm_unreachable("not scalar"); break; } - return S; + return OS.str(); } /// Convert the StringRef and use it to set this DocNode (assuming scalar). If |