Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-10.0/llvm/lib/BinaryFormat/
DMsgPackDocumentYAML.cpp24 struct ScalarDocNode : DocNode { struct
25 ScalarDocNode(DocNode N) : DocNode(N) {} in ScalarDocNode() function
111 StringRef ScalarDocNode::getYAMLTag() const { in getYAMLTag()
116 ScalarDocNode N = getDocument()->getNode(); in getYAMLTag()
167 static ScalarDocNode &getAsScalar(DocNode &N) { in getAsScalar()
168 return *static_cast<ScalarDocNode *>(&N); in getAsScalar()
173 template <> struct TaggedScalarTraits<ScalarDocNode> {
175 static void output(const ScalarDocNode &S, void *Ctxt, raw_ostream &OS, in output()
182 ScalarDocNode &S) { in input()
186 static QuotingType mustQuote(const ScalarDocNode &S, StringRef ScalarStr) { in mustQuote()
[all …]
/external/llvm-project/llvm/lib/BinaryFormat/
DMsgPackDocumentYAML.cpp24 struct ScalarDocNode : DocNode { struct
25 ScalarDocNode(DocNode N) : DocNode(N) {} in ScalarDocNode() argument
111 StringRef ScalarDocNode::getYAMLTag() const { in getYAMLTag()
116 ScalarDocNode N = getDocument()->getNode(); in getYAMLTag()
167 static ScalarDocNode &getAsScalar(DocNode &N) { in getAsScalar()
168 return *static_cast<ScalarDocNode *>(&N); in getAsScalar()
173 template <> struct TaggedScalarTraits<ScalarDocNode> {
175 static void output(const ScalarDocNode &S, void *Ctxt, raw_ostream &OS, in output()
182 ScalarDocNode &S) { in input()
186 static QuotingType mustQuote(const ScalarDocNode &S, StringRef ScalarStr) { in mustQuote()
[all …]