Home
last modified time | relevance | path

Searched refs:TT_LineComment (Results 1 – 5 of 5) sorted by relevance

/external/clang/lib/Format/
DUnwrappedLineFormatter.cpp43 if (TheLine->Last->is(TT_LineComment)) in tryFitMultipleLinesInOne()
82 if (I[1]->Last->is(TT_LineComment)) in tryFitMultipleLinesInOne()
155 tok::kw_while, TT_LineComment)) in tryMergeSimpleControlStatement()
254 if (I[1]->Last->is(TT_LineComment)) in tryMergeSimpleBlock()
DFormatToken.h56 TT_LineComment, enumerator
352 (is(TT_LineComment) || !Next || Next->NewlinesBefore > 0); in isTrailingComment()
DContinuationIndenter.cpp318 (Current.isNot(TT_LineComment) || Previous.BlockKind == BK_BracedInit)) in addTokenOnCurrentLine()
984 } else if (Current.is(TT_LineComment) && in breakProtrudingToken()
1060 if (Current.isNot(TT_LineComment)) { in breakProtrudingToken()
DWhitespaceManager.cpp86 Tok.is(TT_LineComment) && Newlines > 0 ? tok::comment : tok::unknown, in replaceWhitespaceInToken()
DTokenAnnotator.cpp866 Current.TokenText.startswith("/*") ? TT_BlockComment : TT_LineComment; in determineTokenType()
1414 if (Current->is(TT_LineComment)) { in calculateFormattingInformation()