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

References

tools/clang/unittests/AST/CommentLexer.cpp
  751   lexString(Source, Toks);
  753   ASSERT_EQ(10U, Toks.size());
  755   ASSERT_EQ(tok::text,                 Toks[0].getKind());
  756   ASSERT_EQ(StringRef(" "),            Toks[0].getText());
  758   ASSERT_EQ(tok::verbatim_block_begin, Toks[1].getKind());
  759   ASSERT_EQ(StringRef("verbatim"),     getVerbatimBlockName(Toks[1]));
  761   ASSERT_EQ(tok::verbatim_block_line,  Toks[2].getKind());
  762   ASSERT_EQ(StringRef(" Aaa"),         Toks[2].getVerbatimBlockText());
  764   ASSERT_EQ(tok::verbatim_block_line,  Toks[3].getKind());
  765   ASSERT_EQ(StringRef(""),             Toks[3].getVerbatimBlockText());
  767   ASSERT_EQ(tok::verbatim_block_line,  Toks[4].getKind());
  768   ASSERT_EQ(StringRef(" Bbb"),         Toks[4].getVerbatimBlockText());
  770   ASSERT_EQ(tok::verbatim_block_end,   Toks[5].getKind());
  771   ASSERT_EQ(StringRef("endverbatim"),  getVerbatimBlockName(Toks[5]));
  773   ASSERT_EQ(tok::newline,              Toks[6].getKind());
  775   ASSERT_EQ(tok::text,                 Toks[7].getKind());
  776   ASSERT_EQ(StringRef(" "),            Toks[7].getText());
  778   ASSERT_EQ(tok::newline,              Toks[8].getKind());
  779   ASSERT_EQ(tok::newline,              Toks[9].getKind());