Home
last modified time | relevance | path

Searched refs:BacktickToken (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Format/
H A DFormatTokenLexer.cpp886 FormatToken *BacktickToken = Tokens.back(); in handleTemplateStrings() local
888 if (BacktickToken->is(tok::l_brace)) { in handleTemplateStrings()
892 if (BacktickToken->is(tok::r_brace)) { in handleTemplateStrings()
899 } else if (BacktickToken->is(tok::unknown) && in handleTemplateStrings()
900 BacktickToken->TokenText == "`") { in handleTemplateStrings()
908 const char *TmplBegin = Offset - BacktickToken->TokenText.size(); // at "`" in handleTemplateStrings()
927 BacktickToken->setType(TT_TemplateString); in handleTemplateStrings()
928 BacktickToken->Tok.setKind(tok::string_literal); in handleTemplateStrings()
929 BacktickToken->TokenText = LiteralText; in handleTemplateStrings()
936 BacktickToken->ColumnWidth = encoding::columnWidthWithTabs( in handleTemplateStrings()
[all …]