Home
last modified time | relevance | path

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

/external/clang/lib/Format/
DFormatToken.cpp96 if (!State.NextToken->isTrailingComment()) { in formatAfterToken()
158 while (ItemBegin->HasUnescapedNewline && ItemBegin->isTrailingComment()) in precomputeFormattingInfos()
187 ItemEnd->Next->isTrailingComment()) in precomputeFormattingInfos()
DContinuationIndenter.cpp54 return Previous.is(tok::comma) && !Current.isTrailingComment() && in startsNextParameter()
151 State.Stack.back().BreakBeforeParameter && !Current.isTrailingComment() && in mustBreak()
190 !Current.isTrailingComment() && !Previous.is(tok::lessless) && in mustBreak()
209 if (Current.NestingLevel == 0 && !Current.isTrailingComment()) { in mustBreak()
464 if (!Current.isTrailingComment()) in addTokenOnNewLine()
737 if (!Current.isTrailingComment() && in moveStatePastFakeLParens()
782 !Current.isTrailingComment())) in moveStatePastFakeLParens()
978 } else if (Current.is(TT_BlockComment) && Current.isTrailingComment()) { in breakProtrudingToken()
DTokenAnnotator.cpp220 !CurrentToken->Next->isTrailingComment()) in parseParens()
1290 while (Current && Current->isTrailingComment()) { in parseConditionalExpr()
1311 Current->isTrailingComment()) in next()
1461 ChildSize = LastOfChild.isTrailingComment() ? Style.ColumnLimit in calculateFormattingInformation()
1911 BeforeClosingBrace->isTrailingComment())) in mustBreakBefore()
1918 if (Right.Previous->isTrailingComment() || in mustBreakBefore()
2018 if (Right.isTrailingComment()) in canBreakBefore()
DFormatToken.h350 bool isTrailingComment() const { in isTrailingComment() function
DUnwrappedLineFormatter.cpp703 if (Previous.Children[0]->Last->isTrailingComment()) in formatChildren()
/external/clang/lib/AST/
DRawCommentList.cpp244 if (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.cpp2860 Record.push_back((*I)->isTrailingComment()); in WriteComments()