Lines Matching refs:identifier
86 if (AttrTok->startsSequence(tok::kw_using, tok::identifier, tok::colon)) in isCppAttribute()
88 if (AttrTok->isNot(tok::identifier)) in isCppAttribute()
95 AttrTok->startsSequence(tok::identifier, tok::identifier) || in isCppAttribute()
96 AttrTok->startsSequence(tok::r_paren, tok::identifier)) { in isCppAttribute()
297 (Line.startsWith(Keywords.kw_type, tok::identifier) || in parseParens()
299 tok::identifier))) { in parseParens()
312 (OpeningParen.Previous->endsSequence(tok::identifier, in parseParens()
331 !OpeningParen.Previous->is(tok::identifier))) { in parseParens()
400 if (PrevPrev && PrevPrev->is(tok::identifier) && in parseParens()
402 CurrentToken->is(tok::identifier) && Next->isNot(tok::equal)) { in parseParens()
530 if (Tok.Previous && Tok.Previous->is(tok::identifier)) in isCSharpAttributeSpecifier()
569 AttrTok->Next->startsSequence(tok::identifier, tok::l_paren)) { in isCSharpAttributeSpecifier()
683 tok::identifier) && in parseSquare()
780 CurrentToken->endsSequence(tok::colon, tok::identifier, in parseSquare()
1016 Tok->Previous->is(tok::identifier) && Tok->Previous->is(TT_Unknown); in consumeToken()
1083 CurrentToken->isOneOf(tok::kw_constexpr, tok::identifier)) { in consumeToken()
1240 (Tok->Next && Tok->Next->is(tok::identifier) && Tok->Next->Next && in consumeToken()
1277 case tok::identifier: in consumeToken()
1476 CurrentToken->Next->isOneOf(tok::string_literal, tok::identifier, in parseLine()
1495 if (CurrentToken && CurrentToken->is(tok::identifier)) { in parseLine()
1710 (Line.startsWith(Keywords.kw_type, tok::identifier) || in modifyContext()
1712 tok::identifier))) { in modifyContext()
1795 Current.startsSequence(tok::arrow, tok::identifier, tok::less)) { in isDeductionGuide()
1845 : Current.Previous->is(tok::identifier); in determineTokenType()
1884 !Current.Previous->isOneOf(tok::kw_operator, tok::identifier)) { in determineTokenType()
1950 if (BeforeParen->is(tok::identifier) && in determineTokenType()
1999 } else if (Current.isOneOf(tok::identifier, tok::kw_const, tok::kw_noexcept, in determineTokenType()
2034 if (Tok.isNot(tok::identifier) || !Tok.Previous) in isStartOfName()
2058 bool IsPPKeyword = PreviousNotConst->is(tok::identifier) && in isStartOfName()
2079 if (PreviousNotConst->isOneOf(tok::identifier, tok::kw_auto)) in isStartOfName()
2274 if (Tok.Next->isOneOf(tok::identifier, tok::kw_this)) in rParenEndsCast()
2279 if (Tok.Previous->is(tok::identifier) && in rParenEndsCast()
2294 !Tok.Next->Next->isOneOf(tok::identifier, tok::numeric_constant)) { in rParenEndsCast()
2300 if (!Prev->isOneOf(tok::kw_const, tok::identifier, tok::coloncolon)) in rParenEndsCast()
2465 if (PrevToken->isOneOf(tok::r_paren, tok::r_square, tok::identifier)) in determineIncrementUsage()
2813 if ((Next->isSimpleTypeSpecifier() || Next->is(tok::identifier)) && in isFunctionDeclarationName()
2849 if (!Next->is(tok::identifier)) in isFunctionDeclarationName()
2887 if (IsCpp && Next->Next && Next->Next->is(tok::identifier) && in isFunctionDeclarationName()
3178 if (Right.is(tok::identifier) && Right.Next && Right.Next->is(TT_DictLiteral)) in splitPenalty()
3278 Left.Previous->isOneOf(tok::identifier, tok::greater)) { in splitPenalty()
3452 Right.isOneOf(tok::identifier, tok::string_literal, tok::char_constant, in spaceRequiredBetween()
3475 return Left.Tok.isLiteral() || (Left.is(tok::identifier) && Left.Previous && in spaceRequiredBetween()
3582 if (Previous->is(tok::identifier) || Previous->isSimpleTypeSpecifier()) { in spaceRequiredBetween()
3759 if ((Left.isOneOf(tok::identifier, tok::greater, tok::r_square, in spaceRequiredBetween()
3770 if (Right.is(tok::hash) && Left.is(tok::identifier) && in spaceRequiredBetween()
3842 if (Left.is(tok::identifier) && Right.is(TT_ModulePartitionColon)) in spaceRequiredBefore()
3846 Right.isOneOf(tok::identifier, tok::kw_private)) { in spaceRequiredBefore()
3849 if (Left.is(tok::ellipsis) && Right.is(tok::identifier) && in spaceRequiredBefore()
4034 (Left.Previous->is(tok::identifier) || in spaceRequiredBefore()
4137 if (Left.endsSequence(tok::star, tok::l_paren) && Right.is(tok::identifier)) in spaceRequiredBefore()
4269 (Left.is(tok::identifier) || Left.is(tok::kw_this))) { in spaceRequiredBefore()
4272 if (Right.is(tok::coloncolon) && Left.is(tok::identifier)) { in spaceRequiredBefore()
4374 (Right.is(tok::identifier) && Right.TokenText == "_"))) { in mustBreakBefore()
4398 Line.First->isOneOf(tok::identifier, Keywords.kw_import, tok::kw_export, in mustBreakBefore()
4822 if (NonComment && NonComment->is(tok::identifier) && in canBreakBefore()
4874 Right.isOneOf(tok::identifier, tok::string_literal)) { in canBreakBefore()
4881 if (Left.is(tok::identifier) && Right.is(TT_TemplateString)) in canBreakBefore()
4975 if (Right.is(TT_SelectorName) || (Right.is(tok::identifier) && Right.Next && in canBreakBefore()
5071 if (Left.is(tok::identifier) && Right.is(tok::string_literal)) in canBreakBefore()
5074 if (Right.is(tok::identifier) && Right.Next && Right.Next->is(TT_DictLiteral)) in canBreakBefore()
5129 Right.isOneOf(tok::identifier, tok::kw_const)) || in canBreakBefore()