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()276 Tok = Tok->getNextNonComment(); in tryFitMultipleLinesInOne()285 Tok = Tok->getNextNonComment(); in tryFitMultipleLinesInOne()354 FirstNonComment = FirstNonComment->getNextNonComment(); in tryFitMultipleLinesInOne()708 const FormatToken *Tok = Line.First->getNextNonComment(); in tryMergeSimpleBlock()768 const FormatToken *Next = Tok->getNextNonComment(); in tryMergeSimpleBlock()
80 return First && First->is(tok::comment) && !First->getNextNonComment(); in isComment()
826 const FormatToken *Next = Previous.MatchingParen->getNextNonComment(); in addTokenOnCurrentLine()847 const FormatToken *NextNonComment = Previous.getNextNonComment(); in addTokenOnNewLine()1082 const FormatToken *NextNonComment = Previous.getNextNonComment(); in getNewLineColumn()1343 const FormatToken *Next = Tok.getNextNonComment(); in moveStateToNextToken()1619 const FormatToken *NextNoComment = Current.getNextNonComment(); in moveStatePastScopeOpener()1776 const FormatToken *NextNonComment = Current.getNextNonComment(); in moveStatePastScopeCloser()2551 if (Current.getNextNonComment() && in nextIsMultilineString()2552 Current.getNextNonComment()->isStringLiteral()) { in nextIsMultilineString()
369 if (Next->is(tok::comment) && Next->getNextNonComment()) in analyzeLeft()370 Next = Next->getNextNonComment(); in analyzeLeft()
201 FirstTok->is(tok::comment) ? FirstTok->getNextNonComment() : FirstTok; in analyze()
1617 const FormatToken *Tok = Line.First->getNextNonComment(); in modifyContext()1627 Tok = Tok->getNextNonComment(); in modifyContext()2290 const FormatToken *NextToken = Tok.getNextNonComment(); in determineStarAmpUsage()2340 NextNonParen = NextNonParen->getNextNonComment(); in determineStarAmpUsage()2360 const FormatToken *NextNextToken = NextToken->getNextNonComment(); in determineStarAmpUsage()2535 const FormatToken *NextNonComment = Current->getNextNonComment(); in getCurrentPrecedence()3634 Right.is(tok::l_brace) && Right.getNextNonComment() && in spaceRequiredBetween()4018 const FormatToken *Next = Right.getNextNonComment(); in spaceRequiredBefore()4180 Next = Next->getNextNonComment(); in getFirstNonComment()4585 auto Next = Comma->getNextNonComment(); in mustBreakBefore()[all …]
251 if (ItemEnd->getNextNonComment() == Token->MatchingParen) in precomputeFormattingInfos()
713 LLVM_NODISCARD const FormatToken *getNextNonComment() const { in getNextNonComment() function749 NamespaceTok = NamespaceTok->getNextNonComment(); in getNamespaceToken()752 NamespaceTok = NamespaceTok->getNextNonComment(); in getNamespaceToken()
1259 if (C.Tok->getNextNonComment()->isNot(tok::r_brace)) // dangling comma in getCells()1270 const auto *NextNonComment = C.Tok->getNextNonComment(); in getCells()1272 NextNonComment = NextNonComment->getNextNonComment(); in getCells()