[PATCH] D79671: [MsgPack] MsgPackDocument::readFromBlob now merges
Tim Renouf via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat May 9 07:25:05 PDT 2020
tpr created this revision.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
tpr added reviewers: scott.linder, kzhuravl.
The readFromBlob method can now be used to read MsgPack into a Document
that already contains something, merging the two. There is a new Merger
argument to readFromBlob, a callback function to resolve conflicts.
Change-Id: Icf3e959217fe33cd907a41516c0386aef2847c0c
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D79671
Files:
llvm/include/llvm/BinaryFormat/MsgPackDocument.h
llvm/lib/BinaryFormat/MsgPackDocument.cpp
llvm/unittests/BinaryFormat/MsgPackDocumentTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79671.263016.patch
Type: text/x-patch
Size: 9480 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200509/99f7f76c/attachment.bin>
More information about the llvm-commits
mailing list