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

References

tools/clang/unittests/AST/CommentLexer.cpp
  710   lexString(Source, Toks);
  712   ASSERT_EQ(10U, Toks.size());
  714   ASSERT_EQ(tok::text,                 Toks[0].getKind());
  715   ASSERT_EQ(StringRef(" "),            Toks[0].getText());
  717   ASSERT_EQ(tok::verbatim_block_begin, Toks[1].getKind());
  718   ASSERT_EQ(StringRef("verbatim"),     getVerbatimBlockName(Toks[1]));
  720   ASSERT_EQ(tok::newline,              Toks[2].getKind());
  722   ASSERT_EQ(tok::verbatim_block_line,  Toks[3].getKind());
  723   ASSERT_EQ(StringRef(" Aaa"),         Toks[3].getVerbatimBlockText());
  725   ASSERT_EQ(tok::newline,              Toks[4].getKind());
  727   ASSERT_EQ(tok::newline,              Toks[5].getKind());
  729   ASSERT_EQ(tok::verbatim_block_line,  Toks[6].getKind());
  730   ASSERT_EQ(StringRef(" Bbb"),         Toks[6].getVerbatimBlockText());
  732   ASSERT_EQ(tok::newline,              Toks[7].getKind());
  734   ASSERT_EQ(tok::verbatim_block_end,   Toks[8].getKind());
  735   ASSERT_EQ(StringRef("endverbatim"),  getVerbatimBlockName(Toks[8]));
  737   ASSERT_EQ(tok::newline,              Toks[9].getKind());