reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
999 lexString(Source, Toks); 1001 ASSERT_EQ(4U, Toks.size()); 1003 ASSERT_EQ(tok::text, Toks[0].getKind()); 1004 ASSERT_EQ(StringRef(" a"), Toks[0].getText()); 1006 ASSERT_EQ(tok::text, Toks[1].getKind()); 1007 ASSERT_EQ(StringRef("<"), Toks[1].getText()); 1009 ASSERT_EQ(tok::text, Toks[2].getKind()); 1010 ASSERT_EQ(StringRef("2"), Toks[2].getText()); 1012 ASSERT_EQ(tok::newline, Toks[3].getKind());