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

References

tools/clang/unittests/AST/CommentLexer.cpp
  446   lexString(Source, Toks);
  448   ASSERT_EQ(8U, Toks.size());
  450   ASSERT_EQ(tok::text,        Toks[0].getKind());
  451   ASSERT_EQ(StringRef(" "),   Toks[0].getText());
  453   ASSERT_EQ(tok::unknown_command, Toks[1].getKind());
  454   ASSERT_EQ(StringRef("aaa"), Toks[1].getUnknownCommandName());
  456   ASSERT_EQ(tok::unknown_command, Toks[2].getKind());
  457   ASSERT_EQ(StringRef("bbb"), Toks[2].getUnknownCommandName());
  459   ASSERT_EQ(tok::text,        Toks[3].getKind());
  460   ASSERT_EQ(StringRef(" "),   Toks[3].getText());
  462   ASSERT_EQ(tok::unknown_command, Toks[4].getKind());
  463   ASSERT_EQ(StringRef("ccc"), Toks[4].getUnknownCommandName());
  465   ASSERT_EQ(tok::text,        Toks[5].getKind());
  466   ASSERT_EQ(StringRef("\t"),  Toks[5].getText());
  468   ASSERT_EQ(tok::unknown_command, Toks[6].getKind());
  469   ASSERT_EQ(StringRef("ddd"), Toks[6].getUnknownCommandName());
  471   ASSERT_EQ(tok::newline,     Toks[7].getKind());