Home
last modified time | relevance | path

Searched defs:PolymorphicTraits (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/BinaryFormat/
H A DMsgPackDocumentYAML.cpp146 template <> struct PolymorphicTraits<DocNode> { struct
148 static NodeKind getKind(const DocNode &N) { in getKind()
159 static MapDocNode &getAsMap(DocNode &N) { return N.getMap(/*Convert=*/true); } in getAsMap()
161 static ArrayDocNode &getAsSequence(DocNode &N) { in getAsSequence()
166 static ScalarDocNode &getAsScalar(DocNode &N) { in getAsScalar()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DYAMLTraits.h299 template <typename T> struct PolymorphicTraits { struct