Home
last modified time | relevance | path

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

/src/contrib/llvm-project/clang/lib/Format/
H A DUnwrappedLineFormatter.cpp524 bool ShouldMerge = false; in tryFitMultipleLinesInOne() local
527 ShouldMerge = Style.AllowShortEnumsOnASingleLine; in tryFitMultipleLinesInOne()
529 ShouldMerge = Style.AllowShortCompoundRequirementOnASingleLine; in tryFitMultipleLinesInOne()
534 ShouldMerge = !Style.BraceWrapping.AfterClass || in tryFitMultipleLinesInOne()
542 ShouldMerge = !Style.BraceWrapping.AfterFunction || in tryFitMultipleLinesInOne()
546 return ShouldMerge ? tryMergeSimpleBlock(I, E, Limit) : 0; in tryFitMultipleLinesInOne()
816 auto ShouldMerge = [Tok]() { in tryMergeSimpleBlock() local
823 if (ShouldMerge()) { in tryMergeSimpleBlock()