Searched refs:MatchingParen (Results 1 – 8 of 8) sorted by relevance
68 Left->Previous->MatchingParen && in isLambdaParameterList()69 Left->Previous->MatchingParen->is(TT_TemplateOpener)) { in isLambdaParameterList()70 Left = Left->Previous->MatchingParen; in isLambdaParameterList()75 Left->Previous->MatchingParen && in isLambdaParameterList()76 Left->Previous->MatchingParen->is(TT_LambdaLSquare); in isLambdaParameterList()164 (!Previous.Previous->MatchingParen || in parseAngle()165 Previous.Previous->MatchingParen->isNot( in parseAngle()216 Left->MatchingParen = CurrentToken; in parseAngle()217 CurrentToken->MatchingParen = Left; in parseAngle()401 } else if (OpeningParen.Previous && OpeningParen.Previous->MatchingParen && in parseParens()[all …]
62 const auto *LBrace = MatchingParen; in isBlockIndentedInitRBrace()124 while (State.NextToken != LBrace->MatchingParen) { in formatAfterToken()168 if (!Token->MatchingParen || in precomputeFormattingInfos()217 ItemEnd = Token->MatchingParen; in precomputeFormattingInfos()228 ItemEnd = Token->MatchingParen->Previous; in precomputeFormattingInfos()244 if (ItemEnd->getNextNonComment() == Token->MatchingParen) in precomputeFormattingInfos()
89 if (!Tok.MatchingParen) in getLengthToMatchingParen()91 FormatToken *End = Tok.MatchingParen; in getLengthToMatchingParen()108 if (End->Next->MatchingParen && in getLengthToMatchingParen()109 End->Next->MatchingParen->isOneOf( in getLengthToMatchingParen()111 const ParenState *State = FindParenState(End->Next->MatchingParen); in getLengthToMatchingParen()360 Previous.MatchingParen && Previous.MatchingParen->Previous && in canBreak()361 Previous.MatchingParen->Previous->MatchingParen && in canBreak()362 Previous.MatchingParen->Previous->MatchingParen->is(TT_LambdaLBrace)) { in canBreak()364 assert(Previous.MatchingParen->Previous->is(tok::r_brace)); in canBreak()848 (Previous.MatchingParen && in addTokenOnCurrentLine()[all …]
342 assert(Next->MatchingParen && "Missing template closer"); in analyzeRight()343 TypeToken = Next->MatchingParen; in analyzeRight()463 assert(TypeToken->MatchingParen && "Missing template opener"); in analyzeLeft()464 TypeToken = TypeToken->MatchingParen->getPreviousNonComment(); in analyzeLeft()
391 if (CurrentChange.Tok->MatchingParen && in AlignTokenSequence()392 CurrentChange.Tok->MatchingParen->is(TT_LambdaLBrace)) { in AlignTokenSequence()751 if (Current->is(tok::r_paren) && Current->MatchingParen) { in alignConsecutiveMacros()752 Current = Current->MatchingParen->Previous; in alignConsecutiveMacros()1173 Tok = Tok->MatchingParen; in alignTrailingComments()1303 if (Changes[InsideIndex].Tok == C.Tok->MatchingParen) { in alignArrayInitializers()1468 const FormatToken *MatchingParen = nullptr; in getCells() local1478 MatchingParen = C.Tok->MatchingParen; in getCells()1501 if (C.Tok == MatchingParen) { in getCells()
870 Tok->MatchingParen = FormatTok; in parseBlock()871 FormatTok->MatchingParen = Tok; in parseBlock()2771 FormatToken *RightBrace = LeftBrace->MatchingParen; in markOptionalBraces()2778 assert(RightBrace->MatchingParen == LeftBrace); in markOptionalBraces()2890 (IfLeftBrace && !IfLeftBrace->MatchingParen) || in parseIfThenElse()2922 assert(ElseLeftBrace->MatchingParen); in parseIfThenElse()2958 (ElseLeftBrace && !ElseLeftBrace->MatchingParen) || in parseIfThenElse()2967 FormatToken *IfRightBrace = IfLeftBrace->MatchingParen; in parseIfThenElse()2969 assert(IfRightBrace->MatchingParen == IfLeftBrace); in parseIfThenElse()2972 IfLeftBrace->MatchingParen = nullptr; in parseIfThenElse()[all …]
564 FormatToken *MatchingParen = nullptr; member877 return MatchingParen && MatchingParen->opensBlockOrBlockTypeList(Style); in closesBlockOrBlockTypeList()
2294 const auto *LBrace = Prev->MatchingParen; in removeSemi()2491 if (Prev->is(tok::r_paren) && Prev->MatchingParen) { in countVariableAlignments()2493 Prev->MatchingParen->getPreviousNonComment()) { in countVariableAlignments()2589 FormatToken *Matching = FormatTok->MatchingParen; in insertTrailingCommas()