Home
last modified time | relevance | path

Searched refs:isTrailingComment (Results 1 – 9 of 9) 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/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/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()