Home
last modified time | relevance | path

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

/external/clang/lib/Format/
DContinuationIndenter.cpp448 const FormatToken *PreviousNonComment = Current.getPreviousNonComment(); in addTokenOnNewLine() local
483 Current.NestingLevel != 0 || !PreviousNonComment || in addTokenOnNewLine()
484 !PreviousNonComment->is(tok::equal) || in addTokenOnNewLine()
507 } else if (PreviousNonComment && PreviousNonComment->is(tok::colon) && in addTokenOnNewLine()
508 PreviousNonComment->isOneOf(TT_ObjCMethodExpr, TT_DictLiteral)) { in addTokenOnNewLine()
532 (PreviousNonComment && PreviousNonComment->is(tok::question))) in addTokenOnNewLine()
566 if (PreviousNonComment && in addTokenOnNewLine()
567 !PreviousNonComment->isOneOf(tok::comma, tok::semi) && in addTokenOnNewLine()
568 (PreviousNonComment->isNot(TT_TemplateCloser) || in addTokenOnNewLine()
570 !PreviousNonComment->isOneOf( in addTokenOnNewLine()
[all …]