Home
last modified time | relevance | path

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

/external/clang/lib/Format/
DTokenAnnotator.cpp150 FormatToken *Prev = CurrentToken->getPreviousNonComment(); in parseParens()
152 FormatToken *PrevPrev = Prev->getPreviousNonComment(); in parseParens()
228 FormatToken *Parent = Left->getPreviousNonComment(); in parseSquare()
320 if (CurrentToken->getPreviousNonComment()->is(tok::identifier)) in parseBrace()
321 CurrentToken->getPreviousNonComment()->Type = TT_SelectorName; in parseBrace()
789 FormatToken *PreviousNoComment = Current.getPreviousNonComment(); in determineTokenType()
843 LeftOfParens = Tok.MatchingParen->getPreviousNonComment(); in rParenEndsCast()
899 const FormatToken *PrevToken = Tok.getPreviousNonComment(); in determineStarAmpUsage()
957 const FormatToken *PrevToken = Tok.getPreviousNonComment(); in determinePlusMinusCaretUsage()
977 const FormatToken *PrevToken = Tok.getPreviousNonComment(); in determineIncrementUsage()
DContinuationIndenter.cpp353 const FormatToken *PreviousNonComment = Current.getPreviousNonComment(); in addTokenOnNewLine()
481 const FormatToken *PreviousNonComment = Current.getPreviousNonComment(); in getNewLineColumn()
590 (Current.getPreviousNonComment() && Current.isNot(tok::colon) && in moveStateToNextToken()
591 Current.getPreviousNonComment()->is(tok::question) && in moveStateToNextToken()
622 const FormatToken *Previous = Current.getPreviousNonComment(); in moveStateToNextToken()
680 const FormatToken *Previous = Current.getPreviousNonComment(); in moveStatePastFakeLParens()
DFormatToken.cpp157 const FormatToken *NonCommentEnd = ItemEnd->getPreviousNonComment(); in precomputeFormattingInfos()
DFormatToken.h361 FormatToken *getPreviousNonComment() const { in getPreviousNonComment() function
DFormat.cpp1200 const FormatToken *LBrace = State.NextToken->getPreviousNonComment(); in formatChildren()