Searched refs:isTrailingComment (Results 1 – 10 of 10) sorted by relevance
130 if (!State.NextToken->isTrailingComment()) { in formatAfterToken()192 while (ItemBegin->isTrailingComment()) in precomputeFormattingInfos()207 while (ItemBegin->HasUnescapedNewline && ItemBegin->isTrailingComment()) { in precomputeFormattingInfos()221 !ItemEnd->Previous->isTrailingComment()) { in precomputeFormattingInfos()237 ItemEnd->Next->isTrailingComment()) { in precomputeFormattingInfos()
141 return Previous.is(tok::comma) && !Current.isTrailingComment() && in startsNextParameter()419 CurrentState.BreakBeforeParameter && !Current.isTrailingComment() && in mustBreak()448 (!Current.isTrailingComment() || Current.NewlinesBefore > 0) && in mustBreak()513 CurrentState.BreakBeforeParameter && !Current.isTrailingComment()) { in mustBreak()547 if (Current.NestingLevel == 0 && !Current.isTrailingComment()) { in mustBreak()903 (!Current.isTrailingComment() || Current.NewlinesBefore > 0) && in addTokenOnCurrentLine()1084 if (!Current.isTrailingComment()) in addTokenOnNewLine()1539 while (Previous && Previous->isTrailingComment()) in moveStateToNextToken()1712 if (!Current.isTrailingComment() && in moveStatePastFakeLParens()1776 !Current.isTrailingComment())) { in moveStatePastFakeLParens()
330 std::next(T)->Tok->isTrailingComment()) && in endReconstruction()332 bool TrailingComment = Token->isTrailingComment(); in endReconstruction()
567 !CurrentToken->Next->isTrailingComment()) { in parseParens()3362 while (Current && Current->isTrailingComment()) in parseConditionalExpr()3382 Current->isTrailingComment()) { in next()4030 ChildSize = LastOfChild.isTrailingComment() ? Style.ColumnLimit in calculateFormattingInformation()5658 BeforeClosingBrace->isTrailingComment())) { in mustBreakBefore()5667 if (Left.isTrailingComment()) in mustBreakBefore()6067 if (Right.isTrailingComment()) { in canBreakBefore()6247 (!Right.isTrailingComment() || Right.NewlinesBefore > 0); in canBreakBefore()
1064 if (Child->Last->isTrailingComment()) in formatChildren()
780 bool isTrailingComment() const { in isTrailingComment() function
957 !Changes[I].Tok->Next || Changes[I].Tok->Next->isTrailingComment(); in alignConsecutiveShortCaseStatements()
76 bool isTrailingComment() const LLVM_READONLY { in isTrailingComment() function
244 CommentBehindDecl->isTrailingComment() && in getRawCommentForDeclNoCacheImpl()269 CommentBeforeDecl->isTrailingComment()) in getRawCommentForDeclNoCacheImpl()
3429 Record.push_back(I->isTrailingComment()); in WriteComments()