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

References

tools/clang/unittests/AST/CommentLexer.cpp
  213   lexString(Source, Toks);
  215   ASSERT_EQ(15U, Toks.size());
  217   ASSERT_EQ(tok::text,         Toks[0].getKind());
  218   ASSERT_EQ(StringRef(" Aaa"), Toks[0].getText());
  219   ASSERT_EQ(tok::newline,      Toks[1].getKind());
  221   ASSERT_EQ(tok::text,         Toks[2].getKind());
  222   ASSERT_EQ(StringRef(" Bbb"), Toks[2].getText());
  223   ASSERT_EQ(tok::newline,      Toks[3].getKind());
  225   ASSERT_EQ(tok::text,         Toks[4].getKind());
  226   ASSERT_EQ(StringRef(" Ccc"), Toks[4].getText());
  227   ASSERT_EQ(tok::newline,      Toks[5].getKind());
  229   ASSERT_EQ(tok::text,            Toks[6].getKind());
  230   ASSERT_EQ(StringRef("  ! Ddd"), Toks[6].getText());
  231   ASSERT_EQ(tok::newline,         Toks[7].getKind());
  233   ASSERT_EQ(tok::text,         Toks[8].getKind());
  234   ASSERT_EQ(StringRef(" Eee"), Toks[8].getText());
  235   ASSERT_EQ(tok::newline,      Toks[9].getKind());
  237   ASSERT_EQ(tok::text,          Toks[10].getKind());
  238   ASSERT_EQ(StringRef("* Fff"), Toks[10].getText());
  239   ASSERT_EQ(tok::newline,       Toks[11].getKind());
  241   ASSERT_EQ(tok::text,         Toks[12].getKind());
  242   ASSERT_EQ(StringRef(" "),    Toks[12].getText());
  244   ASSERT_EQ(tok::newline,      Toks[13].getKind());
  245   ASSERT_EQ(tok::newline,      Toks[14].getKind());