LLVM  8.0.1
Namespaces | Macros | Variables
MsgPack.h File Reference

This file contains constants used for implementing MessagePack support. More...

#include "llvm/Support/DataTypes.h"
#include "llvm/Support/Endian.h"
#include "llvm/BinaryFormat/MsgPack.def"
Include dependency graph for MsgPack.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 llvm
 This class represents lattice values for constants.
 
 llvm::msgpack
 
 llvm::msgpack::FirstByte
 The first byte identifiers of MessagePack object formats.
 
 llvm::msgpack::FixBits
 Most significant bits used to identify "Fix" variants in MessagePack.
 
 llvm::msgpack::FixBitsMask
 Mask of bits used to identify "Fix" variants in MessagePack.
 
 llvm::msgpack::FixMax
 The maximum value or size encodable in "Fix" variants of formats.
 
 llvm::msgpack::FixLen
 The exact size encodable in "Fix" variants of formats.
 
 llvm::msgpack::FixMin
 The minimum value or size encodable in "Fix" variants of formats.
 

Macros

#define HANDLE_MP_FIRST_BYTE(ID, NAME)   constexpr uint8_t NAME = ID;
 
#define HANDLE_MP_FIX_BITS(ID, NAME)   constexpr uint8_t NAME = ID;
 
#define HANDLE_MP_FIX_BITS_MASK(ID, NAME)   constexpr uint8_t NAME = ID;
 
#define HANDLE_MP_FIX_MAX(ID, NAME)   constexpr uint8_t NAME = ID;
 
#define HANDLE_MP_FIX_LEN(ID, NAME)   constexpr uint8_t NAME = ID;
 
#define HANDLE_MP_FIX_MIN(ID, NAME)   constexpr int8_t NAME = ID;
 

Variables

constexpr support::endianness llvm::msgpack::Endianness = support::big
 The endianness of all multi-byte encoded values in MessagePack. More...
 

Detailed Description

This file contains constants used for implementing MessagePack support.

Definition in file MsgPack.h.

Macro Definition Documentation

◆ HANDLE_MP_FIRST_BYTE

#define HANDLE_MP_FIRST_BYTE (   ID,
  NAME 
)    constexpr uint8_t NAME = ID;

Definition at line 29 of file MsgPack.h.

◆ HANDLE_MP_FIX_BITS

#define HANDLE_MP_FIX_BITS (   ID,
  NAME 
)    constexpr uint8_t NAME = ID;

Definition at line 41 of file MsgPack.h.

◆ HANDLE_MP_FIX_BITS_MASK

#define HANDLE_MP_FIX_BITS_MASK (   ID,
  NAME 
)    constexpr uint8_t NAME = ID;

Definition at line 54 of file MsgPack.h.

◆ HANDLE_MP_FIX_LEN

#define HANDLE_MP_FIX_LEN (   ID,
  NAME 
)    constexpr uint8_t NAME = ID;

Definition at line 73 of file MsgPack.h.

◆ HANDLE_MP_FIX_MAX

#define HANDLE_MP_FIX_MAX (   ID,
  NAME 
)    constexpr uint8_t NAME = ID;

Definition at line 63 of file MsgPack.h.

◆ HANDLE_MP_FIX_MIN

#define HANDLE_MP_FIX_MIN (   ID,
  NAME 
)    constexpr int8_t NAME = ID;

Definition at line 86 of file MsgPack.h.