#ifndef LLVM_OBJECTYAML_OFFLOADYAML_H
#define LLVM_OBJECTYAML_OFFLOADYAML_H
#include "llvm/Object/OffloadBinary.h"
#include "llvm/ObjectYAML/YAML.h"
#include "llvm/Support/YAMLTraits.h"
#include <optional>
namespace llvm {
namespace OffloadYAML {
struct Binary { … };
}
}
LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::OffloadYAML::Binary::Member)
LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::OffloadYAML::Binary::StringEntry)
namespace llvm {
namespace yaml {
template <> struct ScalarEnumerationTraits<object::ImageKind> { … };
template <> struct ScalarEnumerationTraits<object::OffloadKind> { … };
template <> struct MappingTraits<OffloadYAML::Binary> { … };
template <> struct MappingTraits<OffloadYAML::Binary::StringEntry> { … };
template <> struct MappingTraits<OffloadYAML::Binary::Member> { … };
}
}
#endif