Lines Matching refs:Twine
1 //===-- Twine.cpp - Fast Temporary String Concatenation -------------------===//
10 #include "llvm/ADT/Twine.h"
16 std::string Twine::str() const {
26 void Twine::toVector(SmallVectorImpl<char> &Out) const {
31 StringRef Twine::toNullTerminatedStringRef(SmallVectorImpl<char> &Out) const {
51 void Twine::printOneChild(raw_ostream &OS, Child Ptr,
54 case Twine::NullKind: break;
55 case Twine::EmptyKind: break;
56 case Twine::TwineKind:
57 Ptr.twine->print(OS);
59 case Twine::CStringKind:
62 case Twine::StdStringKind:
65 case Twine::StringRefKind:
68 case Twine::SmallStringKind:
71 case Twine::CharKind:
74 case Twine::DecUIKind:
77 case Twine::DecIKind:
80 case Twine::DecULKind:
83 case Twine::DecLKind:
86 case Twine::DecULLKind:
89 case Twine::DecLLKind:
92 case Twine::UHexKind:
98 void Twine::printOneChildRepr(raw_ostream &OS, Child Ptr,
101 case Twine::NullKind:
103 case Twine::EmptyKind:
105 case Twine::TwineKind:
107 Ptr.twine->printRepr(OS);
109 case Twine::CStringKind:
113 case Twine::StdStringKind:
117 case Twine::StringRefKind:
121 case Twine::SmallStringKind:
124 case Twine::CharKind:
127 case Twine::DecUIKind:
130 case Twine::DecIKind:
133 case Twine::DecULKind:
136 case Twine::DecLKind:
139 case Twine::DecULLKind:
142 case Twine::DecLLKind:
145 case Twine::UHexKind:
151 void Twine::print(raw_ostream &OS) const {
156 void Twine::printRepr(raw_ostream &OS) const {
157 OS << "(Twine ";
164 LLVM_DUMP_METHOD void Twine::dump() const {
168 void Twine::dumpRepr() const {