Home
last modified time | relevance | path

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

/external/clang/lib/Format/
DFormatToken.cpp189 const FormatToken *ItemEnd = nullptr; in precomputeFormattingInfos() local
191 ItemEnd = Token->MatchingParen; in precomputeFormattingInfos()
192 const FormatToken *NonCommentEnd = ItemEnd->getPreviousNonComment(); in precomputeFormattingInfos()
195 !ItemEnd->Previous->isTrailingComment()) { in precomputeFormattingInfos()
198 while (ItemEnd->Next && !ItemEnd->Next->CanBreakBefore) in precomputeFormattingInfos()
199 ItemEnd = ItemEnd->Next; in precomputeFormattingInfos()
202 ItemEnd = Token->MatchingParen->Previous; in precomputeFormattingInfos()
205 ItemEnd = Commas[i]; in precomputeFormattingInfos()
207 ItemLengths.push_back(CodePointsBetween(ItemBegin, ItemEnd)); in precomputeFormattingInfos()
210 if (ItemEnd->Next && !ItemEnd->Next->HasUnescapedNewline && in precomputeFormattingInfos()
[all …]