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

References

tools/clang/unittests/AST/CommentLexer.cpp
  792   lexString(Source, Toks);
  794   ASSERT_EQ(14U, Toks.size());
  796   ASSERT_EQ(tok::text,                 Toks[0].getKind());
  797   ASSERT_EQ(StringRef(" Meow "),       Toks[0].getText());
  799   ASSERT_EQ(tok::verbatim_block_begin, Toks[1].getKind());
  800   ASSERT_EQ(StringRef("verbatim"),     getVerbatimBlockName(Toks[1]));
  802   ASSERT_EQ(tok::verbatim_block_line,  Toks[2].getKind());
  803   ASSERT_EQ(StringRef(" aaa\\$\\@"),   Toks[2].getVerbatimBlockText());
  805   ASSERT_EQ(tok::verbatim_block_line,  Toks[3].getKind());
  806   ASSERT_EQ(StringRef("bbb \\endverbati"), Toks[3].getVerbatimBlockText());
  808   ASSERT_EQ(tok::verbatim_block_line,  Toks[4].getKind());
  809   ASSERT_EQ(StringRef("ccc"),          Toks[4].getVerbatimBlockText());
  811   ASSERT_EQ(tok::verbatim_block_line,  Toks[5].getKind());
  812   ASSERT_EQ(StringRef("ddd "),         Toks[5].getVerbatimBlockText());
  814   ASSERT_EQ(tok::verbatim_block_end,   Toks[6].getKind());
  815   ASSERT_EQ(StringRef("endverbatim"),  getVerbatimBlockName(Toks[6]));
  817   ASSERT_EQ(tok::text,                 Toks[7].getKind());
  818   ASSERT_EQ(StringRef(" Blah "),       Toks[7].getText());
  820   ASSERT_EQ(tok::verbatim_block_begin, Toks[8].getKind());
  821   ASSERT_EQ(StringRef("verbatim"),     getVerbatimBlockName(Toks[8]));
  823   ASSERT_EQ(tok::verbatim_block_line,  Toks[9].getKind());
  824   ASSERT_EQ(StringRef(" eee"),         Toks[9].getVerbatimBlockText());
  826   ASSERT_EQ(tok::verbatim_block_end,   Toks[10].getKind());
  827   ASSERT_EQ(StringRef("endverbatim"),  getVerbatimBlockName(Toks[10]));
  829   ASSERT_EQ(tok::text,                 Toks[11].getKind());
  830   ASSERT_EQ(StringRef(" BlahBlah"),    Toks[11].getText());
  832   ASSERT_EQ(tok::newline,              Toks[12].getKind());
  833   ASSERT_EQ(tok::newline,              Toks[13].getKind());