Home
last modified time | relevance | path

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

/external/clang/lib/Format/
DFormatToken.cpp112 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()
DContinuationIndenter.cpp60 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()
DTokenAnnotator.cpp274 !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()
DFormatToken.h374 bool isTrailingComment() const { in isTrailingComment() function
DUnwrappedLineFormatter.cpp541 if (Previous.Children[0]->Last->isTrailingComment()) in formatChildren()
/external/llvm-project/clang/lib/Format/
DFormatToken.cpp117 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()
DContinuationIndenter.cpp128 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()
DTokenAnnotator.cpp391 !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()
DFormatToken.h573 bool isTrailingComment() const { in isTrailingComment() function
DUnwrappedLineFormatter.cpp800 if (Child->Last->isTrailingComment()) in formatChildren()
/external/clang/lib/AST/
DRawCommentList.cpp313 if ((C1.isTrailingComment() == C2.isTrailingComment() || in addComment()
314 (C1.isTrailingComment() && !C2.isTrailingComment() && in addComment()
DASTContext.cpp207 (*Comment)->isDocumentation() && (*Comment)->isTrailingComment() && in getRawCommentForDeclNoCache()
229 if (!(*Comment)->isDocumentation() || (*Comment)->isTrailingComment()) in getRawCommentForDeclNoCache()
/external/llvm-project/clang/lib/AST/
DRawCommentList.cpp313 if ((C1.isTrailingComment() == C2.isTrailingComment() || in addComment()
314 (C1.isTrailingComment() && !C2.isTrailingComment() && in addComment()
DASTContext.cpp226 CommentBehindDecl->isTrailingComment() && in getRawCommentForDeclNoCacheImpl()
251 CommentBeforeDecl->isTrailingComment()) in getRawCommentForDeclNoCacheImpl()
/external/llvm-project/clang/include/clang/AST/
DRawCommentList.h76 bool isTrailingComment() const LLVM_READONLY { in isTrailingComment() function
/external/clang/include/clang/AST/
DRawCommentList.h72 bool isTrailingComment() const LLVM_READONLY { in isTrailingComment() function
/external/clang/lib/Serialization/
DASTWriter.cpp2851 Record.push_back(I->isTrailingComment()); in WriteComments()
/external/llvm-project/clang/lib/Serialization/
DASTWriter.cpp2972 Record.push_back(I->isTrailingComment()); in WriteComments()