Searched refs:getNextNonComment (Results 1 – 7 of 7) sorted by relevance
37 const FormatToken *Tok = NamespaceTok->getNextNonComment(); in computeName()40 Tok = Tok->getNextNonComment(); in computeName()
24 const FormatToken *Next = Line.First->getNextNonComment(); in startsExternCBlock()25 const FormatToken *NextNext = Next ? Next->getNextNonComment() : nullptr; in startsExternCBlock()227 Tok = Tok->getNextNonComment(); in tryFitMultipleLinesInOne()235 Tok = Tok->getNextNonComment(); in tryFitMultipleLinesInOne()494 const FormatToken *Tok = Line.First->getNextNonComment(); in tryMergeSimpleBlock()538 (Tok->getNextNonComment() == nullptr || in tryMergeSimpleBlock()539 Tok->getNextNonComment()->is(tok::semi))) { in tryMergeSimpleBlock()
481 const FormatToken *getNextNonComment() const { in getNextNonComment() function527 NamespaceTok = NamespaceTok->getNextNonComment(); in getNamespaceToken()530 NamespaceTok = NamespaceTok->getNextNonComment(); in getNamespaceToken()
203 FirstTok->is(tok::comment) ? FirstTok->getNextNonComment() : FirstTok; in analyze()
718 const FormatToken *Next = Previous.MatchingParen->getNextNonComment(); in addTokenOnCurrentLine()737 const FormatToken *NextNonComment = Previous.getNextNonComment(); in addTokenOnNewLine()908 const FormatToken *NextNonComment = Previous.getNextNonComment(); in getNewLineColumn()1294 const FormatToken *NextNoComment = Current.getNextNonComment(); in moveStatePastScopeOpener()1431 const FormatToken *NextNonComment = Current.getNextNonComment(); in moveStatePastScopeCloser()2180 if (Current.getNextNonComment() && in nextIsMultilineString()2181 Current.getNextNonComment()->isStringLiteral()) in nextIsMultilineString()
223 if (ItemEnd->getNextNonComment() == Token->MatchingParen) in precomputeFormattingInfos()
1580 const FormatToken *NextToken = Tok.getNextNonComment(); in determineStarAmpUsage()1583 (NextToken->is(tok::l_brace) && !NextToken->getNextNonComment())) in determineStarAmpUsage()1630 const FormatToken *NextNextToken = NextToken->getNextNonComment(); in determineStarAmpUsage()1793 const FormatToken *NextNonComment = Current->getNextNonComment(); in getCurrentPrecedence()2553 Right.is(tok::l_brace) && Right.getNextNonComment() && in spaceRequiredBetween()2624 const FormatToken *Next = Right.MatchingParen->getNextNonComment(); in spaceRequiredBefore()2749 !Right.getNextNonComment() || Right.getNextNonComment()->is(tok::semi)) in spaceRequiredBefore()3074 auto Next = Comma->getNextNonComment(); in mustBreakBefore()3122 const FormatToken* Next = Right.getNextNonComment(); in canBreakBefore()