Home
last modified time | relevance | path

Searched refs:getNextNonComment (Results 1 – 8 of 8) sorted by relevance

/freebsd-13.1/contrib/llvm-project/clang/lib/Format/
H A DNamespaceEndCommentsFixer.cpp32 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()
H A DUnwrappedLineFormatter.cpp23 const FormatToken *Next = Line.First->getNextNonComment(); in startsExternCBlock()
24 const FormatToken *NextNext = Next ? Next->getNextNonComment() : nullptr; in startsExternCBlock()
244 Tok = Tok->getNextNonComment(); in tryFitMultipleLinesInOne()
252 Tok = Tok->getNextNonComment(); in tryFitMultipleLinesInOne()
577 const FormatToken *Tok = Line.First->getNextNonComment(); in tryMergeSimpleBlock()
623 (Tok->getNextNonComment() == nullptr || in tryMergeSimpleBlock()
624 Tok->getNextNonComment()->is(tok::semi))) { in tryMergeSimpleBlock()
H A DContinuationIndenter.cpp747 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()
H A DFormatToken.h648 const FormatToken *getNextNonComment() const { in getNextNonComment() function
696 NamespaceTok = NamespaceTok->getNextNonComment(); in getNamespaceToken()
699 NamespaceTok = NamespaceTok->getNextNonComment(); in getNamespaceToken()
H A DUsingDeclarationsSorter.cpp201 FirstTok->is(tok::comment) ? FirstTok->getNextNonComment() : FirstTok; in analyze()
H A DFormatToken.cpp224 if (ItemEnd->getNextNonComment() == Token->MatchingParen) in precomputeFormattingInfos()
H A DTokenAnnotator.cpp2007 const FormatToken *NextToken = Tok.getNextNonComment(); in determineStarAmpUsage()
2011 (NextToken->is(tok::l_brace) && !NextToken->getNextNonComment())) in determineStarAmpUsage()
2055 const FormatToken *NextNextToken = NextToken->getNextNonComment(); in determineStarAmpUsage()
2220 const FormatToken *NextNonComment = Current->getNextNonComment(); in getCurrentPrecedence()
3173 Right.is(tok::l_brace) && Right.getNextNonComment() && in spaceRequiredBetween()
3331 const FormatToken *Next = Right.MatchingParen->getNextNonComment(); in spaceRequiredBefore()
3464 if (!Right.getNextNonComment() || Right.getNextNonComment()->is(tok::semi)) in spaceRequiredBefore()
3928 auto Next = Comma->getNextNonComment(); in mustBreakBefore()
3989 const FormatToken *Next = Right.getNextNonComment(); in canBreakBefore()
H A DWhitespaceManager.cpp1158 const auto *NextNonComment = C.Tok->getNextNonComment(); in getCells()
1160 NextNonComment = NextNonComment->getNextNonComment(); in getCells()