We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7d8568 commit 82c9a0eCopy full SHA for 82c9a0e
clang/lib/Format/Format.cpp
@@ -515,7 +515,7 @@ static FormatStyle expandPresets(const FormatStyle &Style) {
515
Expanded.BraceWrapping.AfterFunction = true;
516
Expanded.BraceWrapping.AfterStruct = true;
517
Expanded.BraceWrapping.AfterUnion = true;
518
- Expanded.BraceWrapping.SplitEmptyFunction = false;
+ Expanded.BraceWrapping.SplitEmptyFunction = true;
519
Expanded.BraceWrapping.SplitEmptyRecord = false;
520
break;
521
case FormatStyle::BS_Stroustrup:
0 commit comments