Lines Matching refs:TokenText

849     First[0]->TokenText = "<<";
869 AddLength += First[i]->TokenText.size();
872 First[0]->TokenText = StringRef(First[0]->TokenText.data(),
873 First[0]->TokenText.size() + AddLength);
937 const char *RegexBegin = Offset - RegexToken->TokenText.size();
966 RegexToken->TokenText = StringRef(RegexBegin, Offset - RegexBegin);
967 RegexToken->ColumnWidth = RegexToken->TokenText.size();
983 size_t CommentBacktickPos = EndBacktick->TokenText.find('`');
1003 if (I[0]->isNot(tok::unknown) || I[0]->TokenText != "`") {
1021 EndBacktick->TokenText.data() + 1 + CommentBacktickPos;
1028 Tokens.back()->TokenText =
1029 StringRef(Tokens.back()->TokenText.data(),
1030 EndOffset - Tokens.back()->TokenText.data());
1075 if (Macro->TokenText != "_T")
1078 const char *Start = Macro->TokenText.data();
1079 const char *End = Last->TokenText.data() + Last->TokenText.size();
1080 String->TokenText = StringRef(Start, End - Start);
1086 String->TokenText, String->OriginalColumn, Style.TabWidth, Encoding);
1162 StringRef TokenText = FormatTok->TokenText;
1171 FormatTok->TokenText = TokenText;
1198 StringRef Text = FormatTok->TokenText;
1257 while (FormatTok->TokenText.size() > 1 && FormatTok->TokenText[0] == '\\' &&
1258 FormatTok->TokenText[1] == '\n') {
1263 FormatTok->TokenText = FormatTok->TokenText.substr(2);
1274 StringRef UntrimmedText = FormatTok->TokenText;
1275 FormatTok->TokenText = FormatTok->TokenText.rtrim(" \t\v\f");
1276 TrailingWhitespace = UntrimmedText.size() - FormatTok->TokenText.size();
1278 IdentifierInfo &Info = IdentTable.get(FormatTok->TokenText);
1294 FormatTok->TokenText = FormatTok->TokenText.substr(0, 1);
1298 FormatTok->TokenText = FormatTok->TokenText.substr(0, 1);
1304 StringRef Text = FormatTok->TokenText;
1371 Tok.TokenText = StringRef(SourceMgr.getCharacterData(Tok.Tok.getLocation()),
1376 if (!Tok.TokenText.empty() && Tok.TokenText[0] == '"') {
1380 Tok.TokenText == "''") {
1385 if (Tok.is(tok::comment) && (Tok.TokenText == "// clang-format on" ||
1386 Tok.TokenText == "/* clang-format on */")) {
1392 if (Tok.is(tok::comment) && (Tok.TokenText == "// clang-format off" ||
1393 Tok.TokenText == "/* clang-format off */")) {
1605 End = End.getLocWithOffset(Last.TokenText.size());