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

References

tools/clang/unittests/AST/CommentLexer.cpp
  414   lexString(Source, Toks);
  416   ASSERT_EQ(8U, Toks.size());
  418   ASSERT_EQ(tok::text,       Toks[0].getKind());
  419   ASSERT_EQ(StringRef(" "),  Toks[0].getText());
  421   ASSERT_EQ(tok::at_command, Toks[1].getKind());
  422   ASSERT_EQ(StringRef("em"), getCommandName(Toks[1]));
  424   ASSERT_EQ(tok::at_command, Toks[2].getKind());
  425   ASSERT_EQ(StringRef("em"), getCommandName(Toks[2]));
  427   ASSERT_EQ(tok::text,       Toks[3].getKind());
  428   ASSERT_EQ(StringRef(" "),  Toks[3].getText());
  430   ASSERT_EQ(tok::at_command, Toks[4].getKind());
  431   ASSERT_EQ(StringRef("em"), getCommandName(Toks[4]));
  433   ASSERT_EQ(tok::text,       Toks[5].getKind());
  434   ASSERT_EQ(StringRef("\t"), Toks[5].getText());
  436   ASSERT_EQ(tok::at_command, Toks[6].getKind());
  437   ASSERT_EQ(StringRef("em"), getCommandName(Toks[6]));
  439   ASSERT_EQ(tok::newline,    Toks[7].getKind());