Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Format/
H A DUnwrappedLineFormatter.cpp486 bool ShouldMerge = false; in tryFitMultipleLinesInOne() local
489 ShouldMerge = Style.AllowShortEnumsOnASingleLine; in tryFitMultipleLinesInOne()
491 ShouldMerge = Style.AllowShortCompoundRequirementOnASingleLine; in tryFitMultipleLinesInOne()
496 ShouldMerge = !Style.BraceWrapping.AfterClass || in tryFitMultipleLinesInOne()
504 ShouldMerge = !Style.BraceWrapping.AfterFunction || in tryFitMultipleLinesInOne()
508 return ShouldMerge ? tryMergeSimpleBlock(I, E, Limit) : 0; in tryFitMultipleLinesInOne()
857 auto ShouldMerge = [Tok]() { in tryMergeSimpleBlock() local
864 if (ShouldMerge()) { in tryMergeSimpleBlock()