14using namespace ArchYAML;
23 Doc.
Content->writeAsBinary(Out);
37 for (
auto &
P :
C.Fields)
38 WriteField(
P.second.Value,
P.second.MaxLength);
41 C.Content->writeAsBinary(Out);
This file declares classes for handling the YAML representation of archives.
OptimizedStructLayoutField Field
StringRef - Represent a constant reference to a string, i.e.
constexpr size_t size() const
size - Get the string size.
constexpr const char * data() const
data - Get a pointer to the start of the string (which may not be null terminated).
An efficient, type-erasing, non-owning reference to a callable.
This class implements an extremely fast bulk output stream that can only output to a stream.
raw_ostream & write(unsigned char C)
@ C
The default llvm calling convention, compatible with C.
bool yaml2archive(ArchYAML::Archive &Doc, raw_ostream &Out, ErrorHandler EH)
This is an optimization pass for GlobalISel generic memory operations.
std::optional< yaml::BinaryRef > Content
std::optional< std::vector< Child > > Members
Common declarations for yaml2obj.