LLVM: llvm::yaml::SequenceTraits< ArrayRef< T > (original) (raw)

template<typename T>
struct llvm::yaml::SequenceTraits< ArrayRef< T > >

ArrayRef is not really compatible with the YAMLTraits.

Everything should be immutable in an ArrayRef, while the SequenceTraits expect a mutable version for inputting, but we're only using the outputting capabilities here. This is a hack, but still nicer than having to manually call the YAMLIO internal methods. Keep this in this file so that it doesn't get misused from YAMLTraits.h.

Definition at line 103 of file YAMLRemarkSerializer.cpp.