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

References

tools/clang/unittests/AST/CommentLexer.cpp
  500   lexString(Source, Toks);
  502   ASSERT_EQ(8U, Toks.size());
  504   ASSERT_EQ(tok::text,          Toks[0].getKind());
  505   ASSERT_EQ(StringRef(" "),     Toks[0].getText());
  507   ASSERT_EQ(tok::backslash_command, Toks[1].getKind());
  508   ASSERT_EQ(StringRef("NewBlockCommand"), getCommandName(Toks[1]));
  510   ASSERT_EQ(tok::text,          Toks[2].getKind());
  511   ASSERT_EQ(StringRef(" Aaa."), Toks[2].getText());
  513   ASSERT_EQ(tok::newline,       Toks[3].getKind());
  515   ASSERT_EQ(tok::text,          Toks[4].getKind());
  516   ASSERT_EQ(StringRef(" "),     Toks[4].getText());
  518   ASSERT_EQ(tok::at_command,    Toks[5].getKind());
  519   ASSERT_EQ(StringRef("NewBlockCommand"), getCommandName(Toks[5]));
  521   ASSERT_EQ(tok::text,          Toks[6].getKind());
  522   ASSERT_EQ(StringRef(" Aaa."), Toks[6].getText());
  524   ASSERT_EQ(tok::newline,       Toks[7].getKind());