Lines Matching refs:identifier

98   if (AttrTok->startsSequence(tok::kw_using, tok::identifier, tok::colon))  in isCppAttribute()
100 if (AttrTok->isNot(tok::identifier)) in isCppAttribute()
107 AttrTok->startsSequence(tok::identifier, tok::identifier) || in isCppAttribute()
108 AttrTok->startsSequence(tok::r_paren, tok::identifier)) { in isCppAttribute()
356 (Line.startsWith(Keywords.kw_type, tok::identifier) || in parseParens()
358 tok::identifier))) { in parseParens()
372 (OpeningParen.Previous->endsSequence(tok::identifier, in parseParens()
391 OpeningParen.Previous->isNot(tok::identifier))) { in parseParens()
482 if (PrevPrev && PrevPrev->is(tok::identifier) && in parseParens()
484 CurrentToken->is(tok::identifier) && Next->isNot(tok::equal)) { in parseParens()
626 if (Tok.Previous && Tok.Previous->is(tok::identifier)) in isCSharpAttributeSpecifier()
665 AttrTok->Next->startsSequence(tok::identifier, tok::l_paren)) { in isCSharpAttributeSpecifier()
773 tok::identifier) && in parseSquare()
872 CurrentToken->endsSequence(tok::colon, tok::identifier, in parseSquare()
976 if (CurrentToken->is(tok::identifier) && in tryToParseTableGenTokVar()
1012 if (Tok.isNot(tok::identifier) || in isTableGenDAGArgBreakingOperator()
1042 } else if (FirstTok->is(tok::identifier)) { in parseTableGenDAGArgAndList()
1138 if (Tok->is(tok::identifier)) { in parseTableGenSimpleValue()
1390 Tok->Previous->is(tok::identifier) && Tok->Previous->is(TT_Unknown); in consumeToken()
1464 CurrentToken->isOneOf(tok::kw_constexpr, tok::identifier)) { in consumeToken()
1686 Tok->Next->startsSequence(tok::question, tok::identifier, in consumeToken()
1693 if (Tok->Next && Tok->Next->is(tok::identifier) && Tok->Next->Next && in consumeToken()
1706 !Tok->Next->isOneOf(tok::identifier, tok::string_literal) || in consumeToken()
1750 case tok::identifier: in consumeToken()
1964 CurrentToken->Next->isOneOf(tok::string_literal, tok::identifier, in parseLine()
1983 if (CurrentToken && CurrentToken->is(tok::identifier)) { in parseLine()
2217 (Line.startsWith(Keywords.kw_type, tok::identifier) || in modifyContext()
2219 tok::identifier))) { in modifyContext()
2303 Current.startsSequence(tok::arrow, tok::identifier, tok::less)) { in isDeductionGuide()
2353 : Current.Previous->is(tok::identifier); in determineTokenType()
2396 !Current.Previous->isOneOf(tok::kw_operator, tok::identifier)) { in determineTokenType()
2484 BeforeParen && BeforeParen->is(tok::identifier) && in determineTokenType()
2532 } else if (Current.isOneOf(tok::identifier, tok::kw_const, tok::kw_noexcept, in determineTokenType()
2571 if (Tok.isNot(tok::identifier) || !Tok.Previous) in isStartOfName()
2579 (Line.InPragmaDirective && NextNonComment->is(tok::identifier))))) { in isStartOfName()
2613 bool IsPPKeyword = PreviousNotConst->is(tok::identifier) && in isStartOfName()
2635 if (PreviousNotConst->isOneOf(tok::identifier, tok::kw_auto) && in isStartOfName()
2843 if (AfterRParen->isOneOf(tok::identifier, tok::kw_this)) in rParenEndsCast()
2848 if (BeforeRParen->is(tok::identifier) && in rParenEndsCast()
2868 !AfterRParen->Next->isOneOf(tok::identifier, tok::numeric_constant)) { in rParenEndsCast()
2892 if (!Prev->isOneOf(tok::kw_const, tok::identifier, tok::coloncolon)) in rParenEndsCast()
3099 if (PrevToken->isOneOf(tok::r_paren, tok::r_square, tok::identifier)) in determineIncrementUsage()
3607 while (Tok->startsSequence(tok::identifier, tok::coloncolon)) { in getFunctionName()
3622 if (Tok->isNot(tok::identifier) || Tok->isNot(TT_Unknown)) in getFunctionName()
3633 assert(Tok && Tok->is(tok::identifier)); in isCtorOrDtorName()
3639 if (!Prev || !Prev->endsSequence(tok::coloncolon, tok::identifier)) in isCtorOrDtorName()
3730 if ((Next->isTypeName(LangOpts) || Next->is(tok::identifier)) && in isFunctionDeclarationName()
3778 if (Next->isNot(tok::identifier)) in isFunctionDeclarationName()
3816 if (IsCpp && Next->Next && Next->Next->is(tok::identifier) && in isFunctionDeclarationName()
3941 if (Tok->isNot(tok::identifier)) in calculateFormattingInformation()
3946 Next->Next->is(tok::identifier); in calculateFormattingInformation()
4177 if (Right.is(tok::identifier) && Right.Next && Right.Next->is(TT_DictLiteral)) in splitPenalty()
4277 Left.Previous->isOneOf(tok::identifier, tok::greater)) { in splitPenalty()
4466 Right.isOneOf(tok::identifier, tok::string_literal, tok::char_constant, in spaceRequiredBetween()
4489 return Left.Tok.isLiteral() || (Left.is(tok::identifier) && BeforeLeft && in spaceRequiredBetween()
4587 if (!Right.startsSequence(tok::identifier, tok::r_paren)) in spaceRequiredBetween()
4608 if (Previous->is(tok::identifier) || Previous->isTypeName(LangOpts)) { in spaceRequiredBetween()
4794 (Left.isOneOf(tok::identifier, tok::greater, tok::r_square, in spaceRequiredBetween()
4805 if (Right.is(tok::hash) && Left.is(tok::identifier) && in spaceRequiredBetween()
4885 if (Left.is(tok::identifier) && Right.is(TT_ModulePartitionColon)) in spaceRequiredBefore()
4889 Right.isOneOf(tok::identifier, tok::kw_private)) { in spaceRequiredBefore()
4892 if (Left.is(tok::ellipsis) && Right.is(tok::identifier) && in spaceRequiredBefore()
4913 if (Left.is(tok::identifier) && Right.is(tok::numeric_constant)) in spaceRequiredBefore()
5084 (Left.Previous->is(tok::identifier) || in spaceRequiredBefore()
5148 if (Left.is(tok::identifier) && Left.TokenText[0] == '\\') in spaceRequiredBefore()
5215 if (Left.endsSequence(tok::star, tok::l_paren) && Right.is(tok::identifier)) in spaceRequiredBefore()
5387 (Left.is(tok::identifier) || Left.is(tok::kw_this))) { in spaceRequiredBefore()
5390 if (Right.is(tok::coloncolon) && Left.is(tok::identifier)) { in spaceRequiredBefore()
5491 (Right.is(tok::identifier) && Right.TokenText == "_"))) { in mustBreakBefore()
5514 Line.First->isOneOf(tok::identifier, Keywords.kw_import, tok::kw_export, in mustBreakBefore()
5967 if (NonComment && NonComment->is(tok::identifier) && in canBreakBefore()
6019 Right.isOneOf(tok::identifier, tok::string_literal)) { in canBreakBefore()
6026 if (Left.is(tok::identifier) && Right.is(TT_TemplateString)) in canBreakBefore()
6136 if (Right.is(TT_SelectorName) || (Right.is(tok::identifier) && Right.Next && in canBreakBefore()
6239 if (Left.is(tok::identifier) && Right.is(tok::string_literal)) in canBreakBefore()
6242 if (Right.is(tok::identifier) && Right.Next && Right.Next->is(TT_DictLiteral)) in canBreakBefore()
6308 Right.isOneOf(tok::identifier, tok::kw_const)) || in canBreakBefore()