When the opening brace of a control statement block is wrapped, we must check the previous line to determine whether to try to merge the block.
Fixes https://github.com/llvm/llvm-project/issues/38639.
Fixes https://github.com/llvm/llvm-project/issues/48007.
Fixes https://github.com/llvm/llvm-project/issues/57421.
switch?