Lines Matching refs:SmallString
11 #include "llvm/ADT/SmallString.h"
32 EXPECT_EQ("hi", Twine(SmallString<4>("hi")).str());
66 EXPECT_EQ("(Twine smallstring:\"hi\" empty)",
67 repr(Twine().concat(Twine(SmallString<5>("hi")))));
68 EXPECT_EQ("(Twine smallstring:\"hey\" cstring:\"there\")",
69 repr(Twine(SmallString<7>("hey")).concat(Twine("there"))));
80 EXPECT_EQ("(Twine cstring:\"a\" rope:(Twine smallstring:\"b\" cstring:\"c\"))",
81 repr(Twine("a").concat(Twine(SmallString<3>("b")).concat(Twine("c")))));
85 SmallString<8> storage;
89 EXPECT_EQ(0, *Twine(SmallString<11>("hello"))