Lines Matching refs:TokenText
52 << ", OC=" << I->Tok->OriginalColumn << ", \"" << I->Tok->TokenText in printLine()
724 Length -= OpeningBrace->TokenText.size() + 1; in mightFitOnOneLine()
729 Length -= FirstToken->TokenText.size() + 1; in mightFitOnOneLine()
929 if (I->Tok->TokenText != "goog") in isGoogScope()
935 if (I->Tok->TokenText != "scope") in isGoogScope()
1095 if (!IfDef && (FormatTok->is(tok::kw_false) || FormatTok->TokenText == "0")) in parsePPIf()
1097 if (IfDef && !IfNDef && FormatTok->TokenText == "SWIG") in parsePPIf()
1158 IncludeGuardToken->TokenText == FormatTok->TokenText) { in parsePPDefine()
1355 !FormatTok->TokenText.starts_with("//")) { in parseModuleImport()
1393 Previous->is(TT_TemplateString) && Previous->TokenText.ends_with("${"); in readTokenWithJavaScriptASI()
1407 Next->is(TT_TemplateString) && Next->TokenText.starts_with("}"); in readTokenWithJavaScriptASI()
2007 StringRef Text = FormatTok->TokenText; in parseStructuralElement()
3999 return Tok->is(tok::identifier) && Tok->TokenText != Tok->TokenText.upper(); in parseRecord()
4626 StringRef IndentContent = FormatTok.TokenText; in continuesLineCommentSection()
4627 if (FormatTok.TokenText.starts_with("//") || in continuesLineCommentSection()
4628 FormatTok.TokenText.starts_with("/*")) { in continuesLineCommentSection()
4629 IndentContent = FormatTok.TokenText.substr(2); in continuesLineCommentSection()
4897 Macros.defined(FormatTok->TokenText) && in readToken()
4919 llvm::dbgs() << "Macro call: " << ID->TokenText << "("; in readToken()
4924 llvm::dbgs() << T->TokenText << " "; in readToken()
4929 if (Macros.objectLike(ID->TokenText) && Args && in readToken()
4930 !Macros.hasArity(ID->TokenText, Args->size())) { in readToken()
4937 << "Macro \"" << ID->TokenText in readToken()
4944 assert(!Args && Macros.objectLike(ID->TokenText)); in readToken()
4946 if ((!Args && Macros.objectLike(ID->TokenText)) || in readToken()
4947 (Args && Macros.hasArity(ID->TokenText, Args->size()))) { in readToken()
4959 llvm::dbgs() << T->TokenText << " "; in readToken()
4964 llvm::dbgs() << "Did not expand macro \"" << ID->TokenText in readToken()