struct ScalarBitSetTraits

Declaration

template <typename T, typename Enable = void>
struct ScalarBitSetTraits { /* full declaration omitted */ };

Description

This class should be specialized by any integer type that is a union of bit values and the YAML representation is a flow sequence of strings. For example: struct ScalarBitSetTraits <MyFlags > { static void bitset(IO &io , MyFlags &value ) { io.bitSetCase(value, "big", flagBig); io.bitSetCase(value, "flat", flagFlat); io.bitSetCase(value, "round", flagRound); } };

Declared at: llvm/include/llvm/Support/YAMLTraits.h:121

Templates

T
Enable = void