Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/Format/
H A DFormatToken.cpp152 if (!State.NextToken->isTrailingComment()) { in formatAfterToken()
214 while (ItemBegin->isTrailingComment()) in precomputeFormattingInfos()
229 while (ItemBegin->HasUnescapedNewline && ItemBegin->isTrailingComment()) { in precomputeFormattingInfos()
243 !ItemEnd->Previous->isTrailingComment()) { in precomputeFormattingInfos()
259 ItemEnd->Next->isTrailingComment()) { in precomputeFormattingInfos()
H A DContinuationIndenter.cpp141 return Previous.is(tok::comma) && !Current.isTrailingComment() && in startsNextParameter()
411 CurrentState.BreakBeforeParameter && !Current.isTrailingComment() && in mustBreak()
440 (!Current.isTrailingComment() || Current.NewlinesBefore > 0) && in mustBreak()
505 CurrentState.BreakBeforeParameter && !Current.isTrailingComment()) { in mustBreak()
539 if (Current.NestingLevel == 0 && !Current.isTrailingComment()) { in mustBreak()
893 (!Current.isTrailingComment() || Current.NewlinesBefore > 0) && in addTokenOnCurrentLine()
1074 if (!Current.isTrailingComment()) in addTokenOnNewLine()
1516 while (Previous && Previous->isTrailingComment()) in moveStateToNextToken()
1689 if (!Current.isTrailingComment() && in moveStatePastFakeLParens()
1747 !Current.isTrailingComment())) { in moveStatePastFakeLParens()
H A DMacroCallReconstructor.cpp330 std::next(T)->Tok->isTrailingComment()) && in endReconstruction()
332 bool TrailingComment = Token->isTrailingComment(); in endReconstruction()
H A DTokenAnnotator.cpp524 !CurrentToken->Next->isTrailingComment()) { in parseParens()
2959 while (Current && Current->isTrailingComment()) in parseConditionalExpr()
2979 Current->isTrailingComment()) { in next()
3610 ChildSize = LastOfChild.isTrailingComment() ? Style.ColumnLimit in calculateFormattingInformation()
5149 BeforeClosingBrace->isTrailingComment())) { in mustBreakBefore()
5158 if (Left.isTrailingComment()) in mustBreakBefore()
5537 if (Right.isTrailingComment()) { in canBreakBefore()
5713 (!Right.isTrailingComment() || Right.NewlinesBefore > 0); in canBreakBefore()
H A DWhitespaceManager.cpp939 !Changes[I].Tok->Next || Changes[I].Tok->Next->isTrailingComment(); in alignConsecutiveShortCaseStatements()
H A DUnwrappedLineFormatter.cpp1055 if (Child->Last->isTrailingComment()) in formatChildren()
H A DFormatToken.h730 bool isTrailingComment() const { in isTrailingComment() function
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DRawCommentList.cpp314 if ((C1.isTrailingComment() == C2.isTrailingComment() || in addComment()
315 (C1.isTrailingComment() && !C2.isTrailingComment() && in addComment()
H A DASTContext.cpp241 CommentBehindDecl->isTrailingComment() && in getRawCommentForDeclNoCacheImpl()
266 CommentBeforeDecl->isTrailingComment()) in getRawCommentForDeclNoCacheImpl()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DRawCommentList.h76 bool isTrailingComment() const LLVM_READONLY { in isTrailingComment() function
/freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp3269 Record.push_back(I->isTrailingComment()); in WriteComments()