Lines Matching refs:TokenText

1314             Previous->TokenText.starts_with("\"\"")) {  in consumeToken()
1473 !CurrentToken->TokenText.starts_with("//")) { in parseIncludeDirective()
1685 return Tok.TokenText == "goog" && Tok.Next && Tok.Next->is(tok::period) && in isClosureImportStatement()
1687 (Tok.Next->Next->TokenText == "module" || in isClosureImportStatement()
1688 Tok.Next->Next->TokenText == "provide" || in isClosureImportStatement()
1689 Tok.Next->Next->TokenText == "require" || in isClosureImportStatement()
1690 Tok.Next->Next->TokenText == "requireType" || in isClosureImportStatement()
1691 Tok.Next->Next->TokenText == "forwardDeclare") && in isClosureImportStatement()
1972 LeadingIdentifier->TokenText == Current.Next->TokenText; in isDeductionGuide()
2084 if (Current.TokenText.starts_with("/*")) { in determineTokenType()
2085 if (Current.TokenText.ends_with("*/")) { in determineTokenType()
2120 BeforeParen->TokenText == BeforeParen->TokenText.upper() && in determineTokenType()
3135 Line->isComment() && !isClangFormatOff(Line->First->TokenText) && in setCommentLineLevels()
3236 return Prev->Previous->TokenText == Tok->TokenText; in isCtorOrDtorName()
3743 if ((Left.is(TT_TemplateString) && Left.TokenText.ends_with("${")) || in splitPenalty()
3744 (Right.is(TT_TemplateString) && Right.TokenText.starts_with("}"))) { in splitPenalty()
3838 bool is_short_annotation = Right.TokenText.size() < 10; in splitPenalty()
4243 return Style.isJavaScript() || !Left.TokenText.ends_with("=*/"); in spaceRequiredBetween()
4361 (Left.TokenText == "L" || Left.TokenText == "u" || in spaceRequiredBetween()
4362 Left.TokenText == "U" || Left.TokenText == "u8" || in spaceRequiredBetween()
4363 Left.TokenText == "LR" || Left.TokenText == "uR" || in spaceRequiredBetween()
4364 Left.TokenText == "UR" || Left.TokenText == "u8R")) { in spaceRequiredBetween()
4584 if ((Left.is(TT_TemplateString) && Left.TokenText.ends_with("${")) || in spaceRequiredBefore()
4585 (Right.is(TT_TemplateString) && Right.TokenText.starts_with("}"))) { in spaceRequiredBefore()
4693 Left.TokenText[0] == '\\') { in spaceRequiredBefore()
4857 if (Left.is(tok::exclaim) && Left.TokenText == "not") in spaceRequiredBefore()
4859 if (Left.is(tok::tilde) && Left.TokenText == "compl") in spaceRequiredBefore()
4999 (Right.is(tok::identifier) && Right.TokenText == "_"))) { in mustBreakBefore()
5232 if (Right.is(tok::string_literal) && Right.TokenText.starts_with("R\"")) { in mustBreakBefore()
5455 NonComment->TokenText == "asserts") { in canBreakBefore()
5797 llvm::errs() << " Text='" << Tok->TokenText << "'\n"; in printDebugInfo()