Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/Format/
H A DUnwrappedLineFormatter.cpp349 const auto *LastNonComment = Line->getLastNonComment(); in tryFitMultipleLinesInOne() local
352 assert(LastNonComment); in tryFitMultipleLinesInOne()
353 return isRecordLBrace(*LastNonComment); in tryFitMultipleLinesInOne()
414 const auto *LastNonComment = TheLine->getLastNonComment(); in tryFitMultipleLinesInOne() local
415 assert(LastNonComment); in tryFitMultipleLinesInOne()
420 if (LastNonComment->is(TT_FunctionLBrace) && in tryFitMultipleLinesInOne()
421 TheLine->First != LastNonComment) { in tryFitMultipleLinesInOne()
799 if (const auto *LastNonComment = Line.getLastNonComment(); in tryMergeSimpleBlock() local
800 LastNonComment && LastNonComment->is(tok::l_brace)) { in tryMergeSimpleBlock()