Lines Matching refs:TokenText
51 << ", OC=" << I->Tok->OriginalColumn << ", \"" << I->Tok->TokenText in printLine()
716 Length -= OpeningBrace->TokenText.size() + 1; in mightFitOnOneLine()
721 Length -= FirstToken->TokenText.size() + 1; in mightFitOnOneLine()
918 if (I->Tok->TokenText != "goog") in isGoogScope()
924 if (I->Tok->TokenText != "scope") in isGoogScope()
1084 if (!IfDef && (FormatTok->is(tok::kw_false) || FormatTok->TokenText == "0")) in parsePPIf()
1086 if (IfDef && !IfNDef && FormatTok->TokenText == "SWIG") in parsePPIf()
1147 IncludeGuardToken->TokenText == FormatTok->TokenText) { in parsePPDefine()
1351 !FormatTok->TokenText.starts_with("//")) { in parseModuleImport()
1389 Previous->is(TT_TemplateString) && Previous->TokenText.ends_with("${"); in readTokenWithJavaScriptASI()
1403 Next->is(TT_TemplateString) && Next->TokenText.starts_with("}"); in readTokenWithJavaScriptASI()
1989 StringRef Text = FormatTok->TokenText; in parseStructuralElement()
3922 return Tok->is(tok::identifier) && Tok->TokenText != Tok->TokenText.upper(); in parseRecord()
4510 StringRef IndentContent = FormatTok.TokenText; in continuesLineCommentSection()
4511 if (FormatTok.TokenText.starts_with("//") || in continuesLineCommentSection()
4512 FormatTok.TokenText.starts_with("/*")) { in continuesLineCommentSection()
4513 IndentContent = FormatTok.TokenText.substr(2); in continuesLineCommentSection()
4780 Macros.defined(FormatTok->TokenText) && in readToken()
4802 llvm::dbgs() << "Macro call: " << ID->TokenText << "("; in readToken()
4807 llvm::dbgs() << T->TokenText << " "; in readToken()
4812 if (Macros.objectLike(ID->TokenText) && Args && in readToken()
4813 !Macros.hasArity(ID->TokenText, Args->size())) { in readToken()
4820 << "Macro \"" << ID->TokenText in readToken()
4827 assert(!Args && Macros.objectLike(ID->TokenText)); in readToken()
4829 if ((!Args && Macros.objectLike(ID->TokenText)) || in readToken()
4830 (Args && Macros.hasArity(ID->TokenText, Args->size()))) { in readToken()
4842 llvm::dbgs() << T->TokenText << " "; in readToken()
4847 llvm::dbgs() << "Did not expand macro \"" << ID->TokenText in readToken()