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

References

tools/clang/lib/Format/FormatTokenLexer.cpp
  830   Lex->LexFromRawLexer(Tok.Tok);
  831   Tok.TokenText = StringRef(SourceMgr.getCharacterData(Tok.Tok.getLocation()),
  831   Tok.TokenText = StringRef(SourceMgr.getCharacterData(Tok.Tok.getLocation()),
  832                             Tok.Tok.getLength());
  835   if (Tok.is(tok::unknown)) {
  836     if (!Tok.TokenText.empty() && Tok.TokenText[0] == '"') {
  836     if (!Tok.TokenText.empty() && Tok.TokenText[0] == '"') {
  837       Tok.Tok.setKind(tok::string_literal);
  838       Tok.IsUnterminatedLiteral = true;
  840                Tok.TokenText == "''") {
  841       Tok.Tok.setKind(tok::string_literal);
  848       Tok.is(tok::char_constant)) {
  849     Tok.Tok.setKind(tok::string_literal);
  852   if (Tok.is(tok::comment) && (Tok.TokenText == "// clang-format on" ||
  852   if (Tok.is(tok::comment) && (Tok.TokenText == "// clang-format on" ||
  853                                Tok.TokenText == "/* clang-format on */")) {
  857   Tok.Finalized = FormattingDisabled;
  859   if (Tok.is(tok::comment) && (Tok.TokenText == "// clang-format off" ||
  859   if (Tok.is(tok::comment) && (Tok.TokenText == "// clang-format off" ||
  860                                Tok.TokenText == "/* clang-format off */")) {