Searched refs:getNextNonComment (Results 1 – 10 of 10) sorted by relevance
43 Tok = Tok->getNextNonComment(); in processTokens()52 Tok = Tok->getNextNonComment(); in skipAttribute()67 const FormatToken *Tok = NamespaceTok->getNextNonComment(); in computeName()72 Tok = Tok->getNextNonComment(); in computeName()75 Tok = Tok->getNextNonComment(); in computeName()92 Tok = Tok->getNextNonComment(); in computeName()130 Tok = Tok->getNextNonComment(); in computeName()
23 const FormatToken *Next = Line.First->getNextNonComment(); in startsExternCBlock()24 const FormatToken *NextNext = Next ? Next->getNextNonComment() : nullptr; in startsExternCBlock()283 Tok = Tok->getNextNonComment(); in tryFitMultipleLinesInOne()292 Tok = Tok->getNextNonComment(); in tryFitMultipleLinesInOne()361 FirstNonComment = FirstNonComment->getNextNonComment(); in tryFitMultipleLinesInOne()718 const FormatToken *Tok = Line.First->getNextNonComment(); in tryMergeSimpleBlock()790 const FormatToken *Next = Tok->getNextNonComment(); in tryMergeSimpleBlock()
85 return First && First->is(tok::comment) && !First->getNextNonComment(); in isComment()
842 const FormatToken *Next = Previous.MatchingParen->getNextNonComment(); in addTokenOnCurrentLine()863 const FormatToken *NextNonComment = Previous.getNextNonComment(); in addTokenOnNewLine()1098 const FormatToken *NextNonComment = Previous.getNextNonComment(); in getNewLineColumn()1366 const FormatToken *Next = Tok.getNextNonComment(); in moveStateToNextToken()1650 const FormatToken *NextNoComment = Current.getNextNonComment(); in moveStatePastScopeOpener()1811 const FormatToken *NextNonComment = Current.getNextNonComment(); in moveStatePastScopeCloser()2586 if (Current.getNextNonComment() && in nextIsMultilineString()2587 Current.getNextNonComment()->isStringLiteral()) { in nextIsMultilineString()
598 const auto NextNonComment = getNextNonComment();746 [[nodiscard]] const FormatToken *getNextNonComment() const { in getNextNonComment() function782 NamespaceTok = NamespaceTok->getNextNonComment(); in getNamespaceToken()785 NamespaceTok = NamespaceTok->getNextNonComment(); in getNamespaceToken()1787 const FormatToken *Next = Tok.getNextNonComment(); in isVerilogEndOfLabel()
373 if (Next->is(tok::comment) && Next->getNextNonComment()) in analyzeLeft()374 Next = Next->getNextNonComment(); in analyzeLeft()
232 FirstTok->is(tok::comment) ? FirstTok->getNextNonComment() : FirstTok; in analyze()
1685 const FormatToken *Tok = Line.First->getNextNonComment(); in modifyContext()1695 Tok = Tok->getNextNonComment(); in modifyContext()2357 const FormatToken *NextToken = Tok.getNextNonComment(); in determineStarAmpUsage()2366 (NextToken->is(tok::l_brace) && !NextToken->getNextNonComment())) { in determineStarAmpUsage()2412 NextNonParen = NextNonParen->getNextNonComment(); in determineStarAmpUsage()2432 const FormatToken *NextNextToken = NextToken->getNextNonComment(); in determineStarAmpUsage()2607 const FormatToken *NextNonComment = Current->getNextNonComment(); in getCurrentPrecedence()3762 Right.is(tok::l_brace) && Right.getNextNonComment() && in spaceRequiredBetween()3983 const FormatToken *Next = Right.MatchingParen->getNextNonComment(); in spaceRequiredBefore()4097 const FormatToken *Next = Right.getNextNonComment(); in spaceRequiredBefore()[all …]
252 if (ItemEnd->getNextNonComment() == Token->MatchingParen) in precomputeFormattingInfos()
1296 if (C.Tok->getNextNonComment()->isNot(tok::r_brace)) // dangling comma in getCells()1307 const auto *NextNonComment = C.Tok->getNextNonComment(); in getCells()1309 NextNonComment = NextNonComment->getNextNonComment(); in getCells()