https://bugs.llvm.org/show_bug.cgi?id=48594
Empty or small templates were not being treated the same way as small classes especially when SplitEmptyRecord was set to true
This revision aims to help this by identifying a case when we should try not to merge the lines together
BraceWrapping: AfterStruct: true SplitEmptyRecord: true BreakBeforeBraces: Custom
Input and expected formatted result:
C++ template <class> struct rep { };
Actual output:
C++ template <class> struct rep {};
Why is this not just also in the previous if?
I see that the condition is a bit different, but what would happen if the condition is SplitEmptyRecord && !EmptyBlock?