LLVM 22.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 105 of file YAMLRemarkSerializer.cpp.
|
inlinestatic |
Definition at line 107 of file YAMLRemarkSerializer.cpp.
References assert(), llvm::yaml::IO::outputting(), llvm::seq(), and T.
|
inlinestatic |
Definition at line 106 of file YAMLRemarkSerializer.cpp.
References llvm::seq().