Lines Matching refs:isOneOf
70 return Tok.isOneOf(tok::kw_if, tok::kw_for, tok::kw_while, tok::kw_switch, in isKeywordWithCondition()
152 Left->Previous->isOneOf(TT_SelectorName, TT_DictLiteral))) { in parseAngle()
165 if (CurrentToken->isOneOf(tok::r_paren, tok::r_square, tok::r_brace) || in parseAngle()
166 (CurrentToken->isOneOf(tok::colon, tok::question) && InExprContext && in parseAngle()
177 if (CurrentToken->Previous->isOneOf(tok::pipepipe, tok::ampamp) && in parseAngle()
187 (CurrentToken->isOneOf(tok::l_brace, tok::less) && in parseAngle()
261 Prev->Previous && Prev->Previous->isOneOf(tok::period, tok::arrow); in parseParens()
271 (OpeningParen.Previous->isOneOf(tok::kw_static_assert, in parseParens()
308 OpeningParen.Previous->isOneOf(tok::kw_for, tok::kw_catch); in parseParens()
317 } else if (PrevNonComment->isOneOf(TT_TypenameMacro, tok::kw_decltype, in parseParens()
322 if (PrevNonComment->isOneOf(tok::kw_decltype, tok::kw_typeof)) in parseParens()
342 CurrentToken->isOneOf(tok::star, tok::amp, tok::ampamp, tok::caret); in parseParens()
359 Prev->isOneOf(tok::star, tok::amp, tok::ampamp) && in parseParens()
368 CurrentToken->Previous->Previous->isOneOf(tok::l_paren, in parseParens()
397 Tok->isOneOf(tok::star, tok::amp, tok::ampamp)) { in parseParens()
438 if (CurrentToken->isOneOf(tok::r_square, tok::r_brace)) in parseParens()
450 CurrentToken->Next->isOneOf(tok::star, tok::amp, tok::caret)); in parseParens()
451 if ((CurrentToken->Previous->isOneOf(tok::kw_const, tok::kw_auto) || in parseParens()
457 if (CurrentToken->isOneOf(tok::semi, tok::colon)) { in parseParens()
519 if (AttrTok->isOneOf(tok::kw_public, tok::kw_private, tok::kw_protected, in isCSharpAttributeSpecifier()
600 !CurrentToken->isOneOf(tok::l_brace, tok::r_square) && in parseSquare()
602 Parent->isOneOf(tok::colon, tok::l_square, tok::l_paren, in parseSquare()
606 Parent->isOneOf(TT_ObjCForIn, TT_CastRParen) || in parseSquare()
623 Parent->isOneOf(tok::l_brace, tok::comma)) { in parseSquare()
626 Parent && Parent->isOneOf(tok::l_brace, tok::comma)) { in parseSquare()
671 Parent->isOneOf(TT_BinaryOperator, TT_TemplateCloser, tok::at, in parseSquare()
755 if (CurrentToken->isOneOf(tok::r_paren, tok::r_brace)) in parseSquare()
764 } else if (Left->isOneOf(TT_ArraySubscriptLSquare, in parseSquare()
839 if (CurrentToken->isOneOf(tok::r_paren, tok::r_square)) in parseBrace()
842 if (CurrentToken->isOneOf(tok::colon, tok::l_brace, tok::less)) { in parseBrace()
930 !Line.First->isOneOf(tok::kw_enum, tok::kw_case)) || in consumeToken()
951 if (Line.First->isOneOf(Keywords.kw_module, Keywords.kw_import) || in consumeToken()
997 !Line.First->isOneOf(tok::kw_enum, tok::kw_case, in consumeToken()
1002 if (Prev->isOneOf(tok::r_paren, tok::kw_noexcept) || in consumeToken()
1010 if (PrevPrev && PrevPrev->isOneOf(tok::r_paren, tok::kw_noexcept)) in consumeToken()
1016 (Tok->Next->isOneOf(tok::r_paren, tok::comma) || in consumeToken()
1035 CurrentToken->isOneOf(tok::kw_constexpr, tok::identifier)) { in consumeToken()
1083 !Tok->isOneOf(TT_TypeDeclarationParen, TT_RequiresExpressionLParen) && in consumeToken()
1085 !Tok->Previous->isOneOf(tok::kw___attribute, in consumeToken()
1113 Tok->Previous->isOneOf(TT_SelectorName, TT_DictLiteral))) { in consumeToken()
1146 !CurrentToken->isOneOf(tok::l_paren, tok::semi, tok::r_paren)) { in consumeToken()
1147 if (CurrentToken->isOneOf(tok::star, tok::amp)) in consumeToken()
1154 if (CurrentToken && CurrentToken->Previous->isOneOf( in consumeToken()
1167 Tok->Next->isOneOf(tok::semi, tok::comma, tok::colon, tok::r_paren, in consumeToken()
1187 (Tok->Next && Tok->Next->isOneOf(tok::r_paren, tok::greater)) || in consumeToken()
1219 if (Tok->isOneOf(Keywords.kw___has_include, in consumeToken()
1299 CurrentToken->isOneOf(Keywords.kw_mark, Keywords.kw_option, in parsePragma()
1380 } else if (Tok->isOneOf(Keywords.kw___has_include, in parsePreprocessorDirective()
1410 CurrentToken->Next->isOneOf(tok::string_literal, tok::identifier, in parseLine()
1427 CurrentToken->isOneOf(Keywords.kw_option, Keywords.kw_package)) { in parseLine()
1505 !CurrentToken->isOneOf( in resetTokenMetadata()
1607 if (Line.First->isOneOf(tok::kw_using, tok::kw_return)) in modifyContext()
1631 if (Tok->isOneOf(tok::kw_class, tok::kw_enum, tok::kw_concept, in modifyContext()
1656 !Previous->Previous->isOneOf(tok::comma, tok::semi); in modifyContext()
1658 if (Previous->isOneOf(tok::r_square, tok::r_paren)) { in modifyContext()
1665 if (Previous->isOneOf(TT_BinaryOperator, TT_UnaryOperator) && in modifyContext()
1666 Previous->isOneOf(tok::star, tok::amp, tok::ampamp) && in modifyContext()
1675 } else if (Current.isOneOf(tok::kw_return, tok::kw_throw)) { in modifyContext()
1687 } else if (Current.isOneOf(tok::r_paren, tok::greater, tok::comma)) { in modifyContext()
1689 Previous && Previous->isOneOf(tok::star, tok::amp); in modifyContext()
1792 Current.Previous->isOneOf( in determineTokenType()
1802 Current.Next->isOneOf(TT_BinaryOperator, Keywords.kw_as)) { in determineTokenType()
1822 } else if (Current.isOneOf(tok::kw_auto, tok::kw___auto_type)) { in determineTokenType()
1829 !Current.Previous->isOneOf(tok::kw_operator, tok::identifier)) { in determineTokenType()
1840 } else if (Current.isOneOf(tok::star, tok::amp, tok::ampamp)) { in determineTokenType()
1845 } else if (Current.isOneOf(tok::minus, tok::plus, tok::caret)) { in determineTokenType()
1849 } else if (Current.isOneOf(tok::minusminus, tok::plusplus)) { in determineTokenType()
1851 } else if (Current.isOneOf(tok::exclaim, tok::tilde)) { in determineTokenType()
1887 !Current.Next->isOneOf(tok::semi, tok::colon, tok::l_brace, in determineTokenType()
1924 PreviousNoComment->isOneOf(tok::comma, tok::l_brace)) { in determineTokenType()
1927 Current.Previous->isOneOf(TT_JavaAnnotation, in determineTokenType()
1943 } else if (Current.isOneOf(tok::identifier, tok::kw_const, tok::kw_noexcept, in determineTokenType()
1946 !Current.Previous->isOneOf(tok::equal, tok::at) && in determineTokenType()
1963 Current.Previous->isOneOf(TT_JavaAnnotation, in determineTokenType()
1979 if (Tok.Previous->isOneOf(TT_LeadingJavaAnnotation, Keywords.kw_instanceof, in isStartOfName()
2021 if (PreviousNotConst->isOneOf(tok::identifier, tok::kw_auto)) in isStartOfName()
2047 Prev->isOneOf(tok::kw_const_cast, tok::kw_dynamic_cast, in lParenStartsCppCast()
2112 !LeftOfParens->isOneOf(Keywords.kw_in, tok::kw_return, tok::kw_case, in rParenEndsCast()
2119 if (LeftOfParens->isOneOf(tok::at, tok::r_square, TT_OverloadedOperator, in rParenEndsCast()
2134 if (Tok.Next->isOneOf(tok::kw_noexcept, tok::kw_volatile, tok::kw_const, in rParenEndsCast()
2149 Tok.Next->isOneOf(tok::kw_sizeof, tok::kw_alignof))) { in rParenEndsCast()
2183 Tok.Previous->isOneOf(TT_TemplateCloser, TT_TypeDeclarationParen) || in rParenEndsCast()
2187 Tok.Next->isOneOf(tok::equal, tok::semi, tok::l_brace, tok::greater); in rParenEndsCast()
2207 if (Tok.Next->isOneOf(tok::identifier, tok::kw_this)) in rParenEndsCast()
2225 Tok.Next->isUnaryOperator() || Tok.Next->isOneOf(tok::amp, tok::star); in rParenEndsCast()
2227 !Tok.Next->Next->isOneOf(tok::identifier, tok::numeric_constant)) { in rParenEndsCast()
2233 if (!Prev->isOneOf(tok::kw_const, tok::identifier, tok::coloncolon)) in rParenEndsCast()
2251 if (PrevToken->isOneOf( in determineUnaryOperatorByUsage()
2266 if (PrevToken->isOneOf(TT_CastRParen, TT_UnaryOperator)) in determineUnaryOperatorByUsage()
2296 NextToken->isOneOf(tok::arrow, tok::equal, tok::kw_noexcept) || in determineStarAmpUsage()
2315 if (NextToken->isOneOf(tok::comma, tok::semi)) in determineStarAmpUsage()
2333 PrevToken->isOneOf(tok::r_paren, tok::r_square, tok::kw_true, in determineStarAmpUsage()
2342 NextNonParen->isOneOf(tok::kw_true, tok::kw_false) || in determineStarAmpUsage()
2393 if (PrevToken->isOneOf(tok::r_paren, tok::r_square, tok::identifier)) in determineIncrementUsage()
2431 Current->isOneOf(TT_ObjCMethodExpr, TT_DictLiteral)))) { in parse()
2483 Current->isOneOf(TT_RequiresClause, in parse()
2511 Start->Previous->isOneOf(TT_RequiresClause, in parse()
2539 (NextNonComment->isOneOf(TT_DictLiteral, TT_JsTypeColon) || in getCurrentPrecedence()
2551 if (Current->isOneOf(tok::semi, TT_InlineASMColon, TT_SelectorName) || in getCurrentPrecedence()
2563 Current->isOneOf(Keywords.kw_in, Keywords.kw_as)) { in getCurrentPrecedence()
2568 if (Current->isOneOf(tok::period, tok::arrow)) in getCurrentPrecedence()
2571 Current->isOneOf(Keywords.kw_extends, Keywords.kw_implements, in getCurrentPrecedence()
2719 if (Next->isOneOf(tok::kw_new, tok::kw_delete)) { in isFunctionDeclarationName()
2733 Next->Next && Next->Next->isOneOf(tok::star, tok::amp, tok::ampamp)) { in isFunctionDeclarationName()
2811 if (Tok->isOneOf(tok::l_paren, TT_TemplateOpener) && Tok->MatchingParen) { in isFunctionDeclarationName()
2816 Tok->isOneOf(TT_PointerOrReference, TT_StartOfName, tok::ellipsis)) { in isFunctionDeclarationName()
2819 if (Tok->isOneOf(tok::l_brace, tok::string_literal, TT_ObjCMethodExpr) || in isFunctionDeclarationName()
2888 if (Parameter->isOneOf(tok::comment, tok::r_brace)) in calculateFormattingInformation()
2983 Current->isOneOf(tok::comment, tok::string_literal)) { in calculateUnbreakableTailLengths()
3020 if (Depth == 2 && CurrentToken->isOneOf(tok::l_brace, tok::comma)) { in calculateInitializerColumnList()
3042 if (Right.isOneOf(Keywords.kw_extends, Keywords.kw_throws)) in splitPenalty()
3072 if (!Right.isOneOf(TT_ObjCMethodExpr, TT_LambdaLSquare, in splitPenalty()
3083 if (Right.isOneOf(TT_StartOfName, TT_FunctionDeclarationName) || in splitPenalty()
3101 if (Left.isOneOf(tok::kw_class, tok::kw_struct)) in splitPenalty()
3106 if (Left.isOneOf(TT_RangeBasedForLoopColon, TT_InheritanceColon, in splitPenalty()
3166 Left.Previous->isOneOf(tok::identifier, tok::greater)) { in splitPenalty()
3204 if (Left.isOneOf(tok::plus, tok::comma) && Left.Previous && in splitPenalty()
3262 !Right.isOneOf(tok::semi, tok::r_paren, tok::hashhash)) { in spaceRequiredBetween()
3275 if (Left.isOneOf(tok::hashhash, tok::hash)) in spaceRequiredBetween()
3295 if (Left.is(tok::kw_auto) && Right.isOneOf(tok::l_paren, tok::l_brace)) in spaceRequiredBetween()
3304 if (Left.isOneOf(tok::kw_co_await, tok::kw_co_yield, tok::kw_co_return) && in spaceRequiredBetween()
3305 !Right.isOneOf(tok::semi, tok::r_paren)) { in spaceRequiredBetween()
3315 if (Right.isOneOf(tok::semi, tok::comma)) in spaceRequiredBetween()
3325 if (Left.isOneOf(tok::exclaim, tok::tilde)) in spaceRequiredBetween()
3328 Right.isOneOf(tok::identifier, tok::string_literal, tok::char_constant, in spaceRequiredBetween()
3337 if (Left.is(tok::less) || Right.isOneOf(tok::greater, tok::less)) { in spaceRequiredBetween()
3380 return !Left.isOneOf(TT_PointerOrReference, tok::l_paren) && in spaceRequiredBetween()
3408 if (Right.isOneOf(Keywords.kw_override, Keywords.kw_final) && in spaceRequiredBetween()
3421 if (Right.isOneOf(TT_PointerOrReference, TT_ArraySubscriptLSquare, in spaceRequiredBetween()
3439 return Left.Previous && !Left.Previous->isOneOf( in spaceRequiredBetween()
3444 Left.Previous->isOneOf(tok::star, tok::amp, tok::ampamp)) { in spaceRequiredBetween()
3450 if (Left.is(tok::star) && Right.isOneOf(tok::star, tok::amp, tok::ampamp)) in spaceRequiredBetween()
3452 if (Right.isOneOf(tok::star, tok::amp, tok::ampamp)) { in spaceRequiredBetween()
3504 (Left.isOneOf(TT_ArraySubscriptLSquare, TT_StructuredBindingLSquare, in spaceRequiredBetween()
3514 Right.MatchingParen->isOneOf(TT_ArraySubscriptLSquare, in spaceRequiredBetween()
3520 !Right.isOneOf(TT_ObjCMethodExpr, TT_LambdaLSquare, in spaceRequiredBetween()
3523 !Left.isOneOf(tok::numeric_constant, TT_DictLiteral) && in spaceRequiredBetween()
3548 if (Left.isOneOf(TT_RequiresClause, in spaceRequiredBetween()
3573 if (Left.isOneOf(tok::pp_elif, tok::kw_for, tok::kw_while, tok::kw_switch, in spaceRequiredBetween()
3601 if (Left.isOneOf(tok::kw_try, Keywords.kw___except, tok::kw_catch)) { in spaceRequiredBetween()
3605 if (Left.isOneOf(tok::kw_new, tok::kw_delete)) { in spaceRequiredBetween()
3628 return !Left.isOneOf(tok::l_paren, tok::l_square, tok::at) && in spaceRequiredBetween()
3631 if ((Left.isOneOf(tok::identifier, tok::greater, tok::r_square, in spaceRequiredBetween()
3670 Right.isOneOf(tok::amp, tok::ampamp) && in spaceRequiredBetween()
3671 Left.isOneOf(tok::kw_const, tok::kw_volatile) && in spaceRequiredBetween()
3703 if (Left.is(Keywords.kw_import) && Right.isOneOf(tok::less, tok::ellipsis)) in spaceRequiredBefore()
3706 if (Left.isOneOf(Keywords.kw_module, Keywords.kw_import) && in spaceRequiredBefore()
3715 Right.isOneOf(tok::identifier, tok::kw_private)) { in spaceRequiredBefore()
3739 Left.isOneOf(Keywords.kw_optional, Keywords.kw_required, in spaceRequiredBefore()
3744 Left.isOneOf(Keywords.kw_returns, Keywords.kw_option)) { in spaceRequiredBefore()
3747 if (Right.isOneOf(tok::l_brace, tok::less) && Left.is(TT_SelectorName)) in spaceRequiredBefore()
3754 Right.isOneOf(tok::l_brace, tok::less)) { in spaceRequiredBefore()
3825 if (Left.isOneOf(tok::kw_using, Keywords.kw_async, Keywords.kw_when, in spaceRequiredBefore()
3834 if (Left.isOneOf(tok::kw_public, tok::kw_private, tok::kw_protected, in spaceRequiredBefore()
3870 Left.isOneOf(Keywords.kw_function, Keywords.kw_yield)) { in spaceRequiredBefore()
3873 if (Right.isOneOf(tok::l_brace, tok::l_square) && in spaceRequiredBefore()
3874 Left.isOneOf(Keywords.kw_function, Keywords.kw_yield, in spaceRequiredBefore()
3889 if (Left.isOneOf(tok::kw_throw, Keywords.kw_await, Keywords.kw_typeof, in spaceRequiredBefore()
3897 if ((Left.isOneOf(Keywords.kw_let, Keywords.kw_var, Keywords.kw_in, in spaceRequiredBefore()
3904 Left.Previous->isOneOf(tok::r_square, tok::r_brace)))) && in spaceRequiredBefore()
3908 if (Left.isOneOf(tok::kw_for, Keywords.kw_as) && Left.Previous && in spaceRequiredBefore()
3913 Right.isOneOf(tok::l_square, tok::l_brace, tok::l_paren)) { in spaceRequiredBefore()
3922 if (Right.isOneOf(TT_JsTypeColon, TT_JsTypeOptionalQuestion)) in spaceRequiredBefore()
3927 Line.First->isOneOf(Keywords.kw_import, tok::kw_export)) { in spaceRequiredBefore()
3933 !Right.isOneOf(tok::equal, tok::l_brace, tok::comma, tok::l_square, in spaceRequiredBefore()
3943 Right.isOneOf(Keywords.kw_as, Keywords.kw_in)) { in spaceRequiredBefore()
3953 if ((Left.isOneOf(tok::kw_static, tok::kw_public, tok::kw_private, in spaceRequiredBefore()
3955 Left.isOneOf(Keywords.kw_final, Keywords.kw_abstract, in spaceRequiredBefore()
3963 Left.isOneOf(Keywords.kw_verilogHash, Keywords.kw_verilogHashHash)) { in spaceRequiredBefore()
3993 if (Right.isOneOf(TT_TrailingReturnArrow, TT_LambdaArrow) || in spaceRequiredBefore()
3994 Left.isOneOf(TT_TrailingReturnArrow, TT_LambdaArrow)) { in spaceRequiredBefore()
4016 if (Line.First->isOneOf(tok::kw_default, tok::kw_case)) in spaceRequiredBefore()
4040 if ((Left.isOneOf(tok::minus, tok::minusminus) && in spaceRequiredBefore()
4041 Right.isOneOf(tok::minus, tok::minusminus)) || in spaceRequiredBefore()
4042 (Left.isOneOf(tok::plus, tok::plusplus) && in spaceRequiredBefore()
4043 Right.isOneOf(tok::plus, tok::plusplus))) { in spaceRequiredBefore()
4068 Right.isOneOf(TT_BinaryOperator, TT_SelectorName); in spaceRequiredBefore()
4088 if (Right.isOneOf(tok::arrow, tok::arrowstar, tok::periodstar) || in spaceRequiredBefore()
4089 Left.isOneOf(tok::arrow, tok::period, tok::arrowstar, tok::periodstar) || in spaceRequiredBefore()
4108 !Left.isOneOf(tok::l_brace, tok::comment, tok::l_paren)) { in spaceRequiredBefore()
4113 !(Left.isOneOf(tok::l_paren, tok::r_paren, tok::l_square, in spaceRequiredBefore()
4122 return !Left.isOneOf(tok::amp, tok::ampamp) || in spaceRequiredBefore()
4127 Right.isOneOf(tok::amp, tok::ampamp)) { in spaceRequiredBefore()
4131 (Left.isOneOf(TT_BinaryOperator, TT_ConditionalExpr) && in spaceRequiredBefore()
4154 !Tok.isOneOf(TT_ObjCBlockLBrace, TT_LambdaLBrace, TT_DictLiteral); in isAllmanBrace()
4160 Tok.MatchingParen->Next->isOneOf(tok::comma, tok::r_paren); in IsFunctionArgument()
4171 !Tok.isOneOf(TT_ObjCBlockLBrace, TT_DictLiteral); in isAllmanLambdaBrace()
4227 Line.First->isOneOf(tok::identifier, Keywords.kw_import, tok::kw_export, in mustBreakBefore()
4231 !Line.First->isOneOf(Keywords.kw_var, Keywords.kw_let)) { in mustBreakBefore()
4314 if ((Left.isOneOf(tok::l_brace, TT_ArrayInitializerLSquare) || in mustBreakBefore()
4319 (Right.MatchingParen->isOneOf(tok::l_brace, in mustBreakBefore()
4379 Left.isOneOf(TT_CtorInitializerColon, TT_CtorInitializerComma)) { in mustBreakBefore()
4385 Right.isOneOf(TT_CtorInitializerComma, TT_CtorInitializerColon)) { in mustBreakBefore()
4417 FirstNonComment->isOneOf(Keywords.kw_internal, tok::kw_public, in mustBreakBefore()
4468 Left.isOneOf(tok::star, tok::amp, tok::ampamp, TT_TemplateCloser)) { in mustBreakBefore()
4564 if (Left.isOneOf(tok::r_brace, tok::greater, tok::r_square)) in mustBreakBefore()
4574 !Right.isOneOf(tok::l_paren, TT_LambdaLSquare)) { in mustBreakBefore()
4588 if (!Next->isOneOf(TT_LambdaLSquare, tok::l_brace, tok::caret)) in mustBreakBefore()
4600 if (Left.isOneOf(TT_CSharpNamedArgumentColon, TT_AttributeColon) || in canBreakBefore()
4601 Right.isOneOf(TT_CSharpNamedArgumentColon, TT_AttributeColon)) { in canBreakBefore()
4611 if (Left.isOneOf(Keywords.kw_throws, Keywords.kw_extends, in canBreakBefore()
4615 if (Right.isOneOf(Keywords.kw_throws, Keywords.kw_extends, in canBreakBefore()
4622 NonComment->isOneOf( in canBreakBefore()
4633 Left.isOneOf(tok::r_square, tok::r_paren)) && in canBreakBefore()
4634 Right.isOneOf(tok::l_square, tok::l_paren)) { in canBreakBefore()
4669 if (Right.isOneOf(Keywords.kw_extends, Keywords.kw_infer)) { in canBreakBefore()
4680 Right.isOneOf(Keywords.kw_module, tok::kw_namespace, in canBreakBefore()
4688 if (Left.isOneOf(Keywords.kw_module, tok::kw_namespace) && in canBreakBefore()
4689 Right.isOneOf(tok::identifier, tok::string_literal)) { in canBreakBefore()
4706 if (Left.isOneOf(TT_JavaAnnotation, TT_LeadingJavaAnnotation)) in canBreakBefore()
4714 if (Right.isOneOf(TT_StartOfName, TT_FunctionDeclarationName) || in canBreakBefore()
4746 !Right.isOneOf(TT_CtorInitializerColon, TT_InlineASMColon)) { in canBreakBefore()
4749 if (Left.is(tok::colon) && Left.isOneOf(TT_DictLiteral, TT_ObjCMethodExpr)) { in canBreakBefore()
4804 if (Right.isOneOf(TT_RangeBasedForLoopColon, TT_OverloadedOperatorLParen, in canBreakBefore()
4824 if (Left.isOneOf(TT_TemplateCloser, TT_UnaryOperator) || in canBreakBefore()
4828 if (Left.is(tok::equal) && !Right.isOneOf(tok::kw_default, tok::kw_delete) && in canBreakBefore()
4837 Left.isOneOf(TT_AttributeParen, TT_TypeDeclarationParen)) { in canBreakBefore()
4841 (Left.Previous->isOneOf(TT_BinaryOperator, TT_CastRParen))) { in canBreakBefore()
4872 return !Right.isOneOf(tok::l_brace, tok::semi, tok::equal, tok::l_paren, in canBreakBefore()
4914 !Left.isOneOf(tok::arrowstar, tok::lessless) && in canBreakBefore()
4933 return Left.isOneOf(tok::comma, tok::coloncolon, tok::semi, tok::l_brace, in canBreakBefore()
4936 Right.isOneOf(TT_TrailingReturnArrow, TT_LambdaArrow, tok::lessless, in canBreakBefore()
4939 Right.isOneOf(tok::identifier, tok::kw_const)) || in canBreakBefore()
4970 assert(Reference.isOneOf(tok::amp, tok::ampamp)); in getTokenReferenceAlignment()
4988 if (PointerOrReference.isOneOf(tok::amp, tok::ampamp)) { in getTokenPointerOrReferenceAlignment()