Searched refs:isTrailingComment (Results 1 – 18 of 18) sorted by relevance
112 if (!State.NextToken->isTrailingComment()) { in formatAfterToken()170 while (ItemBegin->isTrailingComment()) in precomputeFormattingInfos()181 while (ItemBegin->HasUnescapedNewline && ItemBegin->isTrailingComment()) { in precomputeFormattingInfos()195 !ItemEnd->Previous->isTrailingComment()) { in precomputeFormattingInfos()211 ItemEnd->Next->isTrailingComment()) in precomputeFormattingInfos()
60 return Previous.is(tok::comma) && !Current.isTrailingComment() && in startsNextParameter()164 State.Stack.back().BreakBeforeParameter && !Current.isTrailingComment() && in mustBreak()222 if ((!IsComparison || LHSIsBinaryExpr) && !Current.isTrailingComment() && in mustBreak()237 if (Current.NestingLevel == 0 && !Current.isTrailingComment()) { in mustBreak()545 if (!Current.isTrailingComment()) in addTokenOnNewLine()731 while (Previous && Previous->isTrailingComment()) in moveStateToNextToken()849 if (!Current.isTrailingComment() && in moveStatePastFakeLParens()895 !Current.isTrailingComment())) in moveStatePastFakeLParens()1134 if (!Current.isTrailingComment() || !Style.ReflowComments || in breakProtrudingToken()
274 !CurrentToken->Next->isTrailingComment()) in parseParens()1515 while (Current && Current->isTrailingComment()) { in parseConditionalExpr()1536 Current->isTrailingComment()) in next()1748 ChildSize = LastOfChild.isTrailingComment() ? Style.ColumnLimit in calculateFormattingInformation()2304 BeforeClosingBrace->isTrailingComment())) in mustBreakBefore()2311 if (Left.isTrailingComment()) in mustBreakBefore()2403 if (Right.isTrailingComment()) in canBreakBefore()
374 bool isTrailingComment() const { in isTrailingComment() function
541 if (Previous.Children[0]->Last->isTrailingComment()) in formatChildren()
117 if (!State.NextToken->isTrailingComment()) { in formatAfterToken()177 while (ItemBegin->isTrailingComment()) in precomputeFormattingInfos()188 while (ItemBegin->HasUnescapedNewline && ItemBegin->isTrailingComment()) { in precomputeFormattingInfos()202 !ItemEnd->Previous->isTrailingComment()) { in precomputeFormattingInfos()218 ItemEnd->Next->isTrailingComment()) in precomputeFormattingInfos()
128 return Previous.is(tok::comma) && !Current.isTrailingComment() && in startsNextParameter()367 State.Stack.back().BreakBeforeParameter && !Current.isTrailingComment() && in mustBreak()466 if ((!IsComparison || LHSIsBinaryExpr) && !Current.isTrailingComment() && in mustBreak()481 if (Current.NestingLevel == 0 && !Current.isTrailingComment()) { in mustBreak()893 if (!Current.isTrailingComment()) in addTokenOnNewLine()1208 while (Previous && Previous->isTrailingComment()) in moveStateToNextToken()1357 if (!Current.isTrailingComment() && in moveStatePastFakeLParens()1408 !Current.isTrailingComment())) { in moveStatePastFakeLParens()
391 !CurrentToken->Next->isTrailingComment()) in parseParens()2234 while (Current && Current->isTrailingComment()) { in parseConditionalExpr()2255 Current->isTrailingComment()) in next()2524 ChildSize = LastOfChild.isTrailingComment() ? Style.ColumnLimit in calculateFormattingInformation()3594 BeforeClosingBrace->isTrailingComment())) in mustBreakBefore()3601 if (Left.isTrailingComment()) in mustBreakBefore()3908 if (Right.isTrailingComment()) in canBreakBefore()
573 bool isTrailingComment() const { in isTrailingComment() function
800 if (Child->Last->isTrailingComment()) in formatChildren()
313 if ((C1.isTrailingComment() == C2.isTrailingComment() || in addComment()314 (C1.isTrailingComment() && !C2.isTrailingComment() && in addComment()
207 (*Comment)->isDocumentation() && (*Comment)->isTrailingComment() && in getRawCommentForDeclNoCache()229 if (!(*Comment)->isDocumentation() || (*Comment)->isTrailingComment()) in getRawCommentForDeclNoCache()
226 CommentBehindDecl->isTrailingComment() && in getRawCommentForDeclNoCacheImpl()251 CommentBeforeDecl->isTrailingComment()) in getRawCommentForDeclNoCacheImpl()
76 bool isTrailingComment() const LLVM_READONLY { in isTrailingComment() function
72 bool isTrailingComment() const LLVM_READONLY { in isTrailingComment() function
2851 Record.push_back(I->isTrailingComment()); in WriteComments()
2972 Record.push_back(I->isTrailingComment()); in WriteComments()