13 #ifndef LLVM_XRAY_YAML_XRAY_RECORD_H
14 #define LLVM_XRAY_YAML_XRAY_RECORD_H
16 #include <type_traits>
82 static constexpr
bool flow =
true;
99 #endif // LLVM_XRAY_YAML_XRAY_RECORD_H
void mapOptional(const char *Key, T &Val)
static void mapping(IO &IO, xray::YAMLXRayRecord &Record)
#define LLVM_YAML_IS_SEQUENCE_VECTOR(_type)
Utility for declaring that a std::vector of a particular type should be considered a YAML sequence...
static void enumeration(IO &IO, xray::RecordTypes &Type)
This class should be specialized by any type that needs to be converted to/from a YAML mapping...
static void mapping(IO &IO, xray::YAMLXRayTrace &Trace)
void enumCase(T &Val, const char *Str, const T ConstVal)
The instances of the Type class are immutable: once they are created, they are never changed...
RecordTypes
Determines the supported types of records that could be seen in XRay traces.
This class should be specialized by any integral type that converts to/from a YAML scalar where there...
std::vector< YAMLXRayRecord > Records
void mapRequired(const char *Key, T &Val)
YAMLXRayFileHeader Header