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

References

tools/clang/unittests/AST/CommentLexer.cpp
  842   lexString(Source, Toks);
  844   ASSERT_EQ(13U, Toks.size());
  846   ASSERT_EQ(tok::text,                 Toks[0].getKind());
  847   ASSERT_EQ(StringRef(" "),            Toks[0].getText());
  849   ASSERT_EQ(tok::verbatim_block_begin, Toks[1].getKind());
  850   ASSERT_EQ(StringRef("f$"),           getVerbatimBlockName(Toks[1]));
  852   ASSERT_EQ(tok::verbatim_block_line,  Toks[2].getKind());
  853   ASSERT_EQ(StringRef(" Aaa "),        Toks[2].getVerbatimBlockText());
  855   ASSERT_EQ(tok::verbatim_block_end,   Toks[3].getKind());
  856   ASSERT_EQ(StringRef("f$"),           getVerbatimBlockName(Toks[3]));
  858   ASSERT_EQ(tok::text,                 Toks[4].getKind());
  859   ASSERT_EQ(StringRef(" "),            Toks[4].getText());
  861   ASSERT_EQ(tok::verbatim_block_begin, Toks[5].getKind());
  862   ASSERT_EQ(StringRef("f["),           getVerbatimBlockName(Toks[5]));
  864   ASSERT_EQ(tok::verbatim_block_line,  Toks[6].getKind());
  865   ASSERT_EQ(StringRef(" Bbb "),        Toks[6].getVerbatimBlockText());
  867   ASSERT_EQ(tok::verbatim_block_end,   Toks[7].getKind());
  868   ASSERT_EQ(StringRef("f]"),           getVerbatimBlockName(Toks[7]));
  870   ASSERT_EQ(tok::text,                 Toks[8].getKind());
  871   ASSERT_EQ(StringRef(" "),            Toks[8].getText());
  873   ASSERT_EQ(tok::verbatim_block_begin, Toks[9].getKind());
  874   ASSERT_EQ(StringRef("f{"),           getVerbatimBlockName(Toks[9]));
  876   ASSERT_EQ(tok::verbatim_block_line,  Toks[10].getKind());
  877   ASSERT_EQ(StringRef(" Ccc "),        Toks[10].getVerbatimBlockText());
  879   ASSERT_EQ(tok::verbatim_block_end,   Toks[11].getKind());
  880   ASSERT_EQ(StringRef("f}"),           getVerbatimBlockName(Toks[11]));
  882   ASSERT_EQ(tok::newline,              Toks[12].getKind());