LLVM 20.0.0git
|
ArrayRef is not really compatible with the YAMLTraits. More...
Static Public Member Functions | |
static size_t | size (IO &io, ArrayRef< T > &seq) |
static Argument & | element (IO &io, ArrayRef< T > &seq, size_t index) |
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 125 of file YAMLRemarkSerializer.cpp.
|
inlinestatic |
Definition at line 127 of file YAMLRemarkSerializer.cpp.
References assert(), and llvm::seq().
|
inlinestatic |
Definition at line 126 of file YAMLRemarkSerializer.cpp.
References llvm::seq().