Home
last modified time | relevance | path

Searched refs:SequenceTraits (Results 1 – 2 of 2) sorted by relevance

/external/llvm/include/llvm/Support/
DYAMLTraits.h135 struct SequenceTraits { struct
270 static bool const value = (sizeof(test<SequenceTraits<T> >(nullptr)) == 1);
669 if ( has_FlowTraits< SequenceTraits<T> >::value ) {
671 unsigned count = io.outputting() ? SequenceTraits<T>::size(io, Seq) : incnt;
675 yamlize(io, SequenceTraits<T>::element(io, Seq, i), true);
683 unsigned count = io.outputting() ? SequenceTraits<T>::size(io, Seq) : incnt;
687 yamlize(io, SequenceTraits<T>::element(io, Seq, i), true);
1239 struct SequenceTraits< std::vector<_type> > { \
1258 struct SequenceTraits< std::vector<_type> > { \
/external/llvm/docs/
DYamlIO.rst731 llvm::yaml::SequenceTraits on T and implement two methods:
738 struct SequenceTraits<MySeq> {
755 be written in YAML as a flow sequence, your SequenceTraits specialization should
761 struct SequenceTraits<MyList> {
778 can be used to easily specify SequenceTraits<> on a std::vector type. YAML
779 I/O does not partial specialize SequenceTraits on std::vector<> because that
801 SequenceTraits but is named DocumentListTraits. For example: