Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Format/
H A DUnwrappedLineFormatter.cpp494 bool ShouldMerge = false; in tryFitMultipleLinesInOne() local
497 ShouldMerge = Style.AllowShortEnumsOnASingleLine; in tryFitMultipleLinesInOne()
502 ShouldMerge = !Style.BraceWrapping.AfterClass || in tryFitMultipleLinesInOne()
511 ShouldMerge = !Style.BraceWrapping.AfterFunction || in tryFitMultipleLinesInOne()
515 return ShouldMerge ? tryMergeSimpleBlock(I, E, Limit) : 0; in tryFitMultipleLinesInOne()
765 auto ShouldMerge = [Tok]() { in tryMergeSimpleBlock() local
772 if (ShouldMerge()) { in tryMergeSimpleBlock()