Home
last modified time | relevance | path

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

/external/clang/lib/Format/
DContinuationIndenter.cpp430 const FormatToken *Next = Previous.MatchingParen->getNextNonComment(); in addTokenOnCurrentLine()
449 const FormatToken *NextNonComment = Previous.getNextNonComment(); in addTokenOnNewLine()
606 const FormatToken *NextNonComment = Previous.getNextNonComment(); in getNewLineColumn()
942 const FormatToken *NextNoComment = Current.getNextNonComment(); in moveStatePastScopeOpener()
1028 const FormatToken *NextNonComment = Current.getNextNonComment(); in moveStatePastScopeCloser()
1246 if (Current.getNextNonComment() && in nextIsMultilineString()
1247 Current.getNextNonComment()->isStringLiteral()) in nextIsMultilineString()
DUnwrappedLineFormatter.cpp22 const FormatToken *Next = Line.First->getNextNonComment(); in startsExternCBlock()
23 const FormatToken *NextNext = Next ? Next->getNextNonComment() : nullptr; in startsExternCBlock()
358 (Tok->getNextNonComment() == nullptr || in tryMergeSimpleBlock()
359 Tok->getNextNonComment()->is(tok::semi))) { in tryMergeSimpleBlock()
DFormatToken.cpp217 if (ItemEnd->getNextNonComment() == Token->MatchingParen) in precomputeFormattingInfos()
DTokenAnnotator.cpp1244 const FormatToken *NextToken = Tok.getNextNonComment(); in determineStarAmpUsage()
1248 (NextToken->is(tok::l_brace) && !NextToken->getNextNonComment())) in determineStarAmpUsage()
1292 const FormatToken *NextNextToken = NextToken->getNextNonComment(); in determineStarAmpUsage()
1447 const FormatToken *NextNonComment = Current->getNextNonComment(); in getCurrentPrecedence()
2080 Right.is(tok::l_brace) && Right.getNextNonComment() && in spaceRequiredBetween()
2187 !Right.getNextNonComment() || Right.getNextNonComment()->is(tok::semi)) in spaceRequiredBefore()
DFormatToken.h421 const FormatToken *getNextNonComment() const { in getNextNonComment() function