Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/Format/
H A DNamespaceEndCommentsFixer.cpp43 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()
H A DUnwrappedLineFormatter.cpp23 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()
H A DTokenAnnotator.h85 return First && First->is(tok::comment) && !First->getNextNonComment(); in isComment()
H A DContinuationIndenter.cpp842 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()
H A DFormatToken.h598 const auto NextNonComment = getNextNonComment();
746 [[nodiscard]] const FormatToken *getNextNonComment() const { in getNextNonComment() function
782 NamespaceTok = NamespaceTok->getNextNonComment(); in getNamespaceToken()
785 NamespaceTok = NamespaceTok->getNextNonComment(); in getNamespaceToken()
1787 const FormatToken *Next = Tok.getNextNonComment(); in isVerilogEndOfLabel()
H A DQualifierAlignmentFixer.cpp373 if (Next->is(tok::comment) && Next->getNextNonComment()) in analyzeLeft()
374 Next = Next->getNextNonComment(); in analyzeLeft()
H A DUsingDeclarationsSorter.cpp232 FirstTok->is(tok::comment) ? FirstTok->getNextNonComment() : FirstTok; in analyze()
H A DTokenAnnotator.cpp1685 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 …]
H A DFormatToken.cpp252 if (ItemEnd->getNextNonComment() == Token->MatchingParen) in precomputeFormattingInfos()
H A DWhitespaceManager.cpp1296 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()