Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Format/
H A DFormatToken.cpp129 if (!State.NextToken->isTrailingComment()) { in formatAfterToken()
191 while (ItemBegin->isTrailingComment()) in precomputeFormattingInfos()
206 while (ItemBegin->HasUnescapedNewline && ItemBegin->isTrailingComment()) { in precomputeFormattingInfos()
220 !ItemEnd->Previous->isTrailingComment()) { in precomputeFormattingInfos()
236 ItemEnd->Next->isTrailingComment()) { in precomputeFormattingInfos()
333 return Previous.is(tok::comma) && !Current.isTrailingComment() && in startsNextParameter()
H A DMacroCallReconstructor.cpp330 std::next(T)->Tok->isTrailingComment()) && in endReconstruction()
332 bool TrailingComment = Token->isTrailingComment(); in endReconstruction()
H A DContinuationIndenter.cpp144 return isAlignableBinaryOperator(Previous) && !Current.isTrailingComment(); in startsNextOperand()
447 CurrentState.BreakBeforeParameter && !Current.isTrailingComment() && in mustBreak()
476 ((!Current.isTrailingComment() && Style.ColumnLimit > 0) || in mustBreak()
539 CurrentState.BreakBeforeParameter && !Current.isTrailingComment()) { in mustBreak()
573 if (Current.NestingLevel == 0 && !Current.isTrailingComment()) { in mustBreak()
998 (!Current.isTrailingComment() || Current.NewlinesBefore > 0) && in addTokenOnCurrentLine()
1179 if (!Current.isTrailingComment()) in addTokenOnNewLine()
1655 while (Previous && Previous->isTrailingComment()) in moveStateToNextToken()
1828 if (!Current.isTrailingComment() && in moveStatePastFakeLParens()
1892 !Current.isTrailingComment())) { in moveStatePastFakeLParens()
H A DTokenAnnotator.cpp554 !CurrentToken->Next->isTrailingComment()) { in parseParens()
3426 while (Current && Current->isTrailingComment()) in parseConditionalExpr()
3446 Current->isTrailingComment()) { in next()
4143 ChildSize = LastOfChild.isTrailingComment() ? Style.ColumnLimit in calculateFormattingInformation()
5803 BeforeClosingBrace->isTrailingComment())) { in mustBreakBefore()
5812 if (Left.isTrailingComment()) in mustBreakBefore()
6246 if (Right.isTrailingComment()) { in canBreakBefore()
6403 (!Right.isTrailingComment() || Right.NewlinesBefore > 0); in canBreakBefore()
H A DFormatToken.h782 bool isTrailingComment() const { in isTrailingComment() function
H A DWhitespaceManager.cpp957 !Changes[I].Tok->Next || Changes[I].Tok->Next->isTrailingComment(); in alignConsecutiveShortCaseStatements()
H A DUnwrappedLineFormatter.cpp1122 if (Child->Last->isTrailingComment()) in formatChildren()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DRawCommentList.cpp311 if ((C1.isTrailingComment() == C2.isTrailingComment() || in addComment()
312 (C1.isTrailingComment() && !C2.isTrailingComment() && in addComment()
H A DASTContext.cpp263 CommentBehindDecl->isTrailingComment() && in getRawCommentForDeclNoCacheImpl()
288 CommentBeforeDecl->isTrailingComment()) in getRawCommentForDeclNoCacheImpl()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DRawCommentList.h76 bool isTrailingComment() const LLVM_READONLY { in isTrailingComment() function
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp3516 Record.push_back(I->isTrailingComment()); in WriteComments()