Home
last modified time | relevance | path

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

/external/clang/lib/Format/
DContinuationIndenter.cpp390 const FormatToken *PreviousNonComment = Current.getPreviousNonComment(); in addTokenOnNewLine()
518 const FormatToken *PreviousNonComment = Current.getPreviousNonComment(); in getNewLineColumn()
628 (Current.getPreviousNonComment() && Current.isNot(tok::colon) && in moveStateToNextToken()
629 Current.getPreviousNonComment()->is(tok::question) && in moveStateToNextToken()
655 const FormatToken *Previous = Current.getPreviousNonComment(); in moveStateToNextToken()
716 const FormatToken *Previous = Current.getPreviousNonComment(); in moveStatePastFakeLParens()
DTokenAnnotator.cpp160 FormatToken *Prev = CurrentToken->getPreviousNonComment(); in parseParens()
162 FormatToken *PrevPrev = Prev->getPreviousNonComment(); in parseParens()
248 FormatToken *Parent = Left->getPreviousNonComment(); in parseSquare()
348 FormatToken *Previous = CurrentToken->getPreviousNonComment(); in parseBrace()
884 FormatToken *PreviousNoComment = Current.getPreviousNonComment(); in determineTokenType()
906 const FormatToken *Previous = AtToken.getPreviousNonComment(); in determineTokenType()
963 LeftOfParens = Tok.MatchingParen->getPreviousNonComment(); in rParenEndsCast()
1037 const FormatToken *PrevToken = Tok.getPreviousNonComment(); in determineStarAmpUsage()
1098 const FormatToken *PrevToken = Tok.getPreviousNonComment(); in determinePlusMinusCaretUsage()
1118 const FormatToken *PrevToken = Tok.getPreviousNonComment(); in determineIncrementUsage()
DFormatToken.cpp167 const FormatToken *NonCommentEnd = ItemEnd->getPreviousNonComment(); in precomputeFormattingInfos()
DFormatToken.h380 FormatToken *getPreviousNonComment() const { in getPreviousNonComment() function
DUnwrappedLineFormatter.cpp674 const FormatToken *LBrace = State.NextToken->getPreviousNonComment(); in formatChildren()