mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
9ec51ac7fd
This commit increases the convenience of using the MsgPackDocument API, especially when creating a document for writing out. It adds direct assignment of bool, integer and string types to a DocNode, as long as that DocNode is already inside a document, e.g. the result of a map lookup. It also adds map lookup given an integer type (it already had that for string). So, to assign a string to a map element whose key is an int, you can now write MyMap[42] = "towel"; instead of MyMap[MyMap.getDocument()->getNode(42)] = MyMap.getDocument()->getNode("towel"); Also added MapDocNode::erase methods. Differential Revision: https://reviews.llvm.org/D80121 Change-Id: I17301fa15bb9802231c52542798af5b54beb583e |
||
---|---|---|
.. | ||
AMDGPUMetadataVerifier.cpp | ||
CMakeLists.txt | ||
Dwarf.cpp | ||
LLVMBuild.txt | ||
MachO.cpp | ||
Magic.cpp | ||
Minidump.cpp | ||
MsgPackDocument.cpp | ||
MsgPackDocumentYAML.cpp | ||
MsgPackReader.cpp | ||
MsgPackWriter.cpp | ||
Wasm.cpp | ||
XCOFF.cpp |