Home
last modified time | relevance | path

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

/external/clang/lib/Format/
DTokenAnnotator.cpp56 Left->MatchingParen = CurrentToken; in parseAngle()
57 CurrentToken->MatchingParen = Left; in parseAngle()
121 Left->Previous->MatchingParen && in parseParens()
122 Left->Previous->MatchingParen->Type == TT_LambdaLSquare) { in parseParens()
175 Left->MatchingParen = CurrentToken; in parseParens()
176 CurrentToken->MatchingParen = Left; in parseParens()
267 Left->MatchingParen = CurrentToken; in parseSquare()
268 CurrentToken->MatchingParen = Left; in parseSquare()
310 Left->MatchingParen = CurrentToken; in parseBrace()
311 CurrentToken->MatchingParen = Left; in parseBrace()
[all …]
DFormatToken.cpp89 while (State.NextToken != LBrace->MatchingParen) { in formatAfterToken()
131 if (!Token->MatchingParen || Token->isNot(tok::l_brace)) in precomputeFormattingInfos()
156 ItemEnd = Token->MatchingParen; in precomputeFormattingInfos()
166 ItemEnd = Token->MatchingParen->Previous; in precomputeFormattingInfos()
180 if (ItemEnd->getNextNonComment() == Token->MatchingParen) in precomputeFormattingInfos()
DFormatToken.h114 MatchingParen(nullptr), Previous(nullptr), Next(nullptr), in FormatToken()
387 return MatchingParen && MatchingParen->opensBlockTypeList(Style); in closesBlockTypeList()
390 FormatToken *MatchingParen; member
DContinuationIndenter.cpp32 if (!Tok.MatchingParen) in getLengthToMatchingParen()
34 FormatToken *End = Tok.MatchingParen; in getLengthToMatchingParen()
334 if (Previous.MatchingParen) { in addTokenOnCurrentLine()
335 const FormatToken *Next = Previous.MatchingParen->getNextNonComment(); in addTokenOnCurrentLine()
493 (Current.MatchingParen && in getNewLineColumn()
494 Current.MatchingParen->BlockKind == BK_BracedInit)) in getNewLineColumn()
780 if (!Tok.MatchingParen) in fakeRParenSpecialCase()
784 Left = Tok.MatchingParen; in fakeRParenSpecialCase()
807 if (Current.MatchingParen && Current.BlockKind == BK_Block) { in moveStatePastScopeOpener()
818 consumeRParens(State, *Current.MatchingParen); in moveStatePastScopeOpener()
[all …]