LLVM
8.0.1
|
#include "llvm/BinaryFormat/MsgPackTypes.h"
Public Member Functions | |
ArrayNode () | |
void | write (Writer &MPWriter) override |
Write to a MessagePack writer MPWriter . More... | |
Public Member Functions inherited from llvm::msgpack::Node | |
NodeKind | getKind () const |
Node (NodeKind Kind) | |
Construct a Node. Used by derived classes to track kind information. More... | |
virtual | ~Node ()=default |
Static Public Member Functions | |
static bool | classof (const Node *N) |
Static Public Member Functions inherited from llvm::msgpack::Node | |
static Expected< OptNodePtr > | read (Reader &MPReader) |
Read from a MessagePack reader MPReader , returning an error if one is encountered, or None if MPReader is at the end of stream, or some Node pointer if some type is read. More... | |
Additional Inherited Members | |
Public Types inherited from llvm::msgpack::Node | |
enum | NodeKind { NK_Scalar, NK_Array, NK_Map } |
Definition at line 246 of file MsgPackTypes.h.
|
inline |
Definition at line 250 of file MsgPackTypes.h.
Definition at line 251 of file MsgPackTypes.h.
References llvm::msgpack::Node::getKind(), and llvm::msgpack::Node::NK_Array.
|
inlineoverridevirtual |
Write to a MessagePack writer MPWriter
.
Implements llvm::msgpack::Node.
Definition at line 253 of file MsgPackTypes.h.
References N, llvm::size(), and llvm::msgpack::Writer::writeArraySize().