Home
last modified time | relevance | path

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

/external/clang/lib/Format/
DFormatToken.cpp111 if (!State.NextToken->isTrailingComment()) { in formatAfterToken()
162 while (ItemBegin->isTrailingComment()) in precomputeFormattingInfos()
173 while (ItemBegin->HasUnescapedNewline && ItemBegin->isTrailingComment()) { in precomputeFormattingInfos()
187 !ItemEnd->Previous->isTrailingComment()) { in precomputeFormattingInfos()
203 ItemEnd->Next->isTrailingComment()) in precomputeFormattingInfos()
DContinuationIndenter.cpp54 return Previous.is(tok::comma) && !Current.isTrailingComment() && in startsNextParameter()
152 State.Stack.back().BreakBeforeParameter && !Current.isTrailingComment() && in mustBreak()
203 if ((!IsComparison || LHSIsBinaryExpr) && !Current.isTrailingComment() && in mustBreak()
218 if (Current.NestingLevel == 0 && !Current.isTrailingComment()) { in mustBreak()
509 if (!Current.isTrailingComment()) in addTokenOnNewLine()
803 if (!Current.isTrailingComment() && in moveStatePastFakeLParens()
848 !Current.isTrailingComment())) in moveStatePastFakeLParens()
1078 } else if (Current.is(TT_BlockComment) && Current.isTrailingComment()) { in breakProtrudingToken()
DTokenAnnotator.cpp229 !CurrentToken->Next->isTrailingComment()) in parseParens()
1425 while (Current && Current->isTrailingComment()) { in parseConditionalExpr()
1446 Current->isTrailingComment()) in next()
1648 ChildSize = LastOfChild.isTrailingComment() ? Style.ColumnLimit in calculateFormattingInformation()
2174 BeforeClosingBrace->isTrailingComment())) in mustBreakBefore()
2181 if (Left.isTrailingComment()) in mustBreakBefore()
2266 if (Right.isTrailingComment()) in canBreakBefore()
DFormatToken.h359 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.cpp206 (*Comment)->isDocumentation() && (*Comment)->isTrailingComment() && in getRawCommentForDeclNoCache()
228 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.cpp2832 Record.push_back(I->isTrailingComment()); in WriteComments()