Home
last modified time | relevance | path

Searched refs:MatchingParen (Results 1 – 4 of 4) sorted by relevance

/external/clang/lib/Format/
DTokenAnnotator.cpp55 (!Previous.Previous->MatchingParen || in parseAngle()
56 !Previous.Previous->MatchingParen->is(TT_OverloadedOperatorLParen))) in parseAngle()
80 Left->MatchingParen = CurrentToken; in parseAngle()
81 CurrentToken->MatchingParen = Left; in parseAngle()
159 Left->Previous->MatchingParen && in parseParens()
160 Left->Previous->MatchingParen->is(TT_LambdaLSquare)) { in parseParens()
175 } else if (Left->Previous && Left->Previous->MatchingParen && in parseParens()
176 Left->Previous->MatchingParen->is(TT_ObjCBlockLParen)) { in parseParens()
227 Left->MatchingParen = CurrentToken; in parseParens()
228 CurrentToken->MatchingParen = Left; in parseParens()
[all …]
DFormatToken.cpp106 while (State.NextToken != LBrace->MatchingParen) { in formatAfterToken()
148 if (!Token->MatchingParen || in precomputeFormattingInfos()
191 ItemEnd = Token->MatchingParen; in precomputeFormattingInfos()
202 ItemEnd = Token->MatchingParen->Previous; in precomputeFormattingInfos()
217 if (ItemEnd->getNextNonComment() == Token->MatchingParen) in precomputeFormattingInfos()
DContinuationIndenter.cpp32 if (!Tok.MatchingParen) in getLengthToMatchingParen()
34 FormatToken *End = Tok.MatchingParen; in getLengthToMatchingParen()
385 (Previous.MatchingParen && in addTokenOnCurrentLine()
386 (Previous.TotalLength - Previous.MatchingParen->TotalLength > 10))) { in addTokenOnCurrentLine()
429 if (Previous.MatchingParen) { in addTokenOnCurrentLine()
430 const FormatToken *Next = Previous.MatchingParen->getNextNonComment(); in addTokenOnCurrentLine()
622 if (Current.MatchingParen && in getNewLineColumn()
623 Current.MatchingParen->BlockKind == BK_BracedInit) in getNewLineColumn()
922 if (Current.MatchingParen && Current.BlockKind == BK_Block) { in moveStatePastScopeOpener()
943 bool EndsInComma = Current.MatchingParen && in moveStatePastScopeOpener()
[all …]
DFormatToken.h262 FormatToken *MatchingParen = nullptr; member
439 return MatchingParen && MatchingParen->opensBlockOrBlockTypeList(Style); in closesBlockOrBlockTypeList()