[clang-format] Fix SplitEmptyRecord affecting SplitEmptyFunction.
Fixes https://github.com/llvm/llvm-project/issues/50051. Given the style: ``` BraceWrapping AfterFunction: true SplitEmptyFunction: true SplitEmptyRecord: false ... ``` The code that should be like: ``` void f(int aaaaaaaaaaaaaaaaaaaaaaaaaaaa, int bbbbbbbbbbbbbbbbbbbbbbbb) { } ``` gets the braces merged together: ``` void f(int aaaaaaaaaaaaaaaaaaaaaaaaaaaa, int bbbbbbbbbbbbbbbbbbbbbbbb) {} ``` Reviewed By: MyDeveloperDay Differential Revision: https://reviews.llvm.org/D116049
Loading
Please sign in to comment