Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Format/
H A DUnwrappedLineFormatter.cpp335 const FormatToken *LastNonComment = Line->Last; in tryFitMultipleLinesInOne() local
336 assert(LastNonComment); in tryFitMultipleLinesInOne()
337 if (LastNonComment->is(tok::comment)) { in tryFitMultipleLinesInOne()
338 LastNonComment = LastNonComment->getPreviousNonComment(); in tryFitMultipleLinesInOne()
341 assert(LastNonComment); in tryFitMultipleLinesInOne()
343 return isRecordLBrace(*LastNonComment); in tryFitMultipleLinesInOne()