Searched refs:getNextNonComment (Results 1 – 7 of 7) sorted by relevance
32 const FormatToken *Tok = NamespaceTok->getNextNonComment(); in computeName()37 Tok = Tok->getNextNonComment(); in computeName()40 Tok = Tok->getNextNonComment(); in computeName()50 Tok = Tok->getNextNonComment(); in computeName()58 Tok = Tok->getNextNonComment(); in computeName()
23 const FormatToken *Next = Line.First->getNextNonComment(); in startsExternCBlock()24 const FormatToken *NextNext = Next ? Next->getNextNonComment() : nullptr; in startsExternCBlock()242 Tok = Tok->getNextNonComment(); in tryFitMultipleLinesInOne()250 Tok = Tok->getNextNonComment(); in tryFitMultipleLinesInOne()575 const FormatToken *Tok = Line.First->getNextNonComment(); in tryMergeSimpleBlock()621 (Tok->getNextNonComment() == nullptr || in tryMergeSimpleBlock()622 Tok->getNextNonComment()->is(tok::semi))) { in tryMergeSimpleBlock()
747 const FormatToken *Next = Previous.MatchingParen->getNextNonComment(); in addTokenOnCurrentLine()766 const FormatToken *NextNonComment = Previous.getNextNonComment(); in addTokenOnNewLine()978 const FormatToken *NextNonComment = Previous.getNextNonComment(); in getNewLineColumn()1201 (Current.getNextNonComment() && in moveStateToNextToken()1202 Current.getNextNonComment()->MustBreakBefore))) in moveStateToNextToken()1460 const FormatToken *NextNoComment = Current.getNextNonComment(); in moveStatePastScopeOpener()1613 const FormatToken *NextNonComment = Current.getNextNonComment(); in moveStatePastScopeCloser()2377 if (Current.getNextNonComment() && in nextIsMultilineString()2378 Current.getNextNonComment()->isStringLiteral()) in nextIsMultilineString()
638 const FormatToken *getNextNonComment() const { in getNextNonComment() function686 NamespaceTok = NamespaceTok->getNextNonComment(); in getNamespaceToken()689 NamespaceTok = NamespaceTok->getNextNonComment(); in getNamespaceToken()
201 FirstTok->is(tok::comment) ? FirstTok->getNextNonComment() : FirstTok; in analyze()
224 if (ItemEnd->getNextNonComment() == Token->MatchingParen) in precomputeFormattingInfos()
1951 const FormatToken *NextToken = Tok.getNextNonComment(); in determineStarAmpUsage()1955 (NextToken->is(tok::l_brace) && !NextToken->getNextNonComment())) in determineStarAmpUsage()1999 const FormatToken *NextNextToken = NextToken->getNextNonComment(); in determineStarAmpUsage()2164 const FormatToken *NextNonComment = Current->getNextNonComment(); in getCurrentPrecedence()3049 Right.is(tok::l_brace) && Right.getNextNonComment() && in spaceRequiredBetween()3204 const FormatToken *Next = Right.MatchingParen->getNextNonComment(); in spaceRequiredBefore()3337 if (!Right.getNextNonComment() || Right.getNextNonComment()->is(tok::semi)) in spaceRequiredBefore()3800 auto Next = Comma->getNextNonComment(); in mustBreakBefore()3861 const FormatToken *Next = Right.getNextNonComment(); in canBreakBefore()