reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/unittests/AST/CommentLexer.cpp
  175     lexString(Sources[i], Toks);
  177     ASSERT_EQ(10U, Toks.size());
  179     ASSERT_EQ(tok::text,         Toks[0].getKind());
  180     ASSERT_EQ(StringRef(" Aaa"), Toks[0].getText());
  181     ASSERT_EQ(tok::text,         Toks[1].getKind());
  182     ASSERT_EQ(StringRef("\\"),   Toks[1].getText());
  183     ASSERT_EQ(tok::newline,      Toks[2].getKind());
  185     ASSERT_EQ(tok::text,         Toks[3].getKind());
  186     ASSERT_EQ(StringRef(" Bbb"), Toks[3].getText());
  187     ASSERT_EQ(tok::text,         Toks[4].getKind());
  188     ASSERT_EQ(StringRef("\\"),   Toks[4].getText());
  189     ASSERT_EQ(tok::text,         Toks[5].getKind());
  190     ASSERT_EQ(StringRef(" "),    Toks[5].getText());
  191     ASSERT_EQ(tok::newline,      Toks[6].getKind());
  193     ASSERT_EQ(tok::text,         Toks[7].getKind());
  194     ASSERT_EQ(StringRef(" Ccc?" "?/"), Toks[7].getText());
  195     ASSERT_EQ(tok::newline,      Toks[8].getKind());
  197     ASSERT_EQ(tok::newline,      Toks[9].getKind());