Lines Matching refs:l_paren
104 ScopedContextCreator ContextCreator(*this, tok::l_paren, 1); in parseParens()
124 tok::kw_if, tok::kw_while, tok::l_paren, in parseParens()
183 CurrentToken->Previous->Previous->isOneOf(tok::l_paren, in parseParens()
190 (CurrentToken->Next->is(tok::l_paren) || in parseParens()
268 Parent->isOneOf(tok::colon, tok::l_square, tok::l_paren, in parseSquare()
284 Parent->isOneOf(tok::at, tok::equal, tok::comma, tok::l_paren, in parseSquare()
300 if (CurrentToken->Next && CurrentToken->Next->is(tok::l_paren) && in parseSquare()
448 Contexts.back().ContextKind == tok::l_paren || // function params in consumeToken()
483 } else if (Contexts.back().ContextKind == tok::l_paren) { in consumeToken()
489 if (CurrentToken && CurrentToken->is(tok::l_paren)) { in consumeToken()
501 case tok::l_paren: in consumeToken()
559 !CurrentToken->isOneOf(tok::l_paren, tok::semi, tok::r_paren)) { in consumeToken()
760 Tok.Next->Next->Next && Tok.Next->Next->Next->is(tok::l_paren); in isImportStatement()
864 } else if (Current.is(tok::l_paren) && !Line.MustBeDeclaration && in modifyContext()
1099 if (Style.Language == FormatStyle::LK_Java && Tok.Next->is(tok::l_paren)) in rParenEndsCast()
1170 if (PrevToken->isOneOf(tok::l_paren, tok::l_square, tok::l_brace, in determineStarAmpUsage()
1203 if (Tok.is(tok::ampamp) && NextToken && NextToken->is(tok::l_paren)) in determineStarAmpUsage()
1226 if (PrevToken->isOneOf(tok::equal, tok::l_paren, tok::comma, tok::l_square, in determinePlusMinusCaretUsage()
1541 } else if (Next->is(tok::l_paren)) { in isFunctionDeclarationName()
1549 if (!Next || !Next->is(tok::l_paren)) in isFunctionDeclarationName()
1780 (!Right.Next || Right.Next->isNot(tok::l_paren))) { in splitPenalty()
1805 if (Left.is(tok::l_paren) && InFunctionDecl && in splitPenalty()
1808 if (Left.is(tok::l_paren) && Left.Previous && in splitPenalty()
1865 if (Left.is(tok::l_paren) && Right.is(tok::r_paren)) in spaceRequiredBetween()
1867 if (Left.is(tok::l_paren) || Right.is(tok::r_paren)) in spaceRequiredBetween()
1882 tok::numeric_constant, tok::l_paren, tok::l_brace, in spaceRequiredBetween()
1899 (!Left.isOneOf(TT_PointerOrReference, tok::l_paren) && in spaceRequiredBetween()
1902 if (Right.is(TT_FunctionTypeLParen) && Left.isNot(tok::l_paren) && in spaceRequiredBetween()
1913 tok::l_paren) && in spaceRequiredBetween()
1917 !Left.Previous->isOneOf(tok::l_paren, tok::coloncolon)); in spaceRequiredBetween()
1918 if (Right.is(tok::star) && Left.is(tok::l_paren)) in spaceRequiredBetween()
1945 if (Right.is(tok::l_paren)) { in spaceRequiredBetween()
1964 return !Left.isOneOf(tok::l_paren, tok::l_square, tok::at) && in spaceRequiredBetween()
1999 if (Right.is(tok::l_paren) && in spaceRequiredBefore()
2023 if (Left.is(Keywords.kw_synchronized) && Right.is(tok::l_paren)) in spaceRequiredBefore()
2091 !(Left.isOneOf(tok::identifier, tok::l_paren, tok::r_paren) || in spaceRequiredBefore()
2095 if ((Right.is(TT_BinaryOperator) && !Left.is(tok::l_paren)) || in spaceRequiredBefore()
2099 if (Left.is(TT_TemplateCloser) && Right.is(tok::l_paren) && in spaceRequiredBefore()
2105 if (Right.is(tok::less) && Left.isNot(tok::l_paren) && in spaceRequiredBefore()
2225 Right.isNot(TT_LeadingJavaAnnotation) && Right.isNot(tok::l_paren) && in mustBreakBefore()
2256 return !Right.is(tok::l_paren); in canBreakBefore()
2306 if (Left.is(tok::l_paren) && Left.is(TT_AttributeParen)) in canBreakBefore()
2308 if (Left.is(tok::l_paren) && Left.Previous && in canBreakBefore()
2328 return !Right.isOneOf(tok::l_brace, tok::semi, tok::equal, tok::l_paren, in canBreakBefore()
2371 (Left.is(tok::l_paren) && !Right.is(tok::r_paren)); in canBreakBefore()