Home
last modified time | relevance | path

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

/external/clang/lib/Format/
DContinuationIndenter.cpp415 const FormatToken *PreviousNonComment = Current.getPreviousNonComment(); in addTokenOnNewLine() local
448 Current.NestingLevel != 0 || !PreviousNonComment->is(tok::equal) || in addTokenOnNewLine()
471 } else if (PreviousNonComment && PreviousNonComment->is(tok::colon) && in addTokenOnNewLine()
472 PreviousNonComment->isOneOf(TT_ObjCMethodExpr, TT_DictLiteral)) { in addTokenOnNewLine()
496 (PreviousNonComment && PreviousNonComment->is(tok::question))) in addTokenOnNewLine()
524 if (PreviousNonComment && in addTokenOnNewLine()
525 !PreviousNonComment->isOneOf(tok::comma, tok::semi) && in addTokenOnNewLine()
526 (PreviousNonComment->isNot(TT_TemplateCloser) || in addTokenOnNewLine()
528 !PreviousNonComment->isOneOf( in addTokenOnNewLine()
531 Current.isNot(TT_BinaryOperator) && !PreviousNonComment->opensScope()) in addTokenOnNewLine()
[all …]