Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/Format/
H A DUnwrappedLineFormatter.cpp519 bool ShouldMerge = false; in tryFitMultipleLinesInOne() local
522 ShouldMerge = Style.AllowShortEnumsOnASingleLine; in tryFitMultipleLinesInOne()
524 ShouldMerge = Style.AllowShortCompoundRequirementOnASingleLine; in tryFitMultipleLinesInOne()
529 ShouldMerge = !Style.BraceWrapping.AfterClass || in tryFitMultipleLinesInOne()
537 ShouldMerge = !Style.BraceWrapping.AfterFunction || in tryFitMultipleLinesInOne()
541 return ShouldMerge ? tryMergeSimpleBlock(I, E, Limit) : 0; in tryFitMultipleLinesInOne()
807 auto ShouldMerge = [Tok]() { in tryMergeSimpleBlock() local
814 if (ShouldMerge()) { in tryMergeSimpleBlock()