Skip to content

Commit 64309d1

Browse files
committed
Merging r313182:
------------------------------------------------------------------------ r313182 | sylvestre | 2017-09-13 13:03:29 -0700 (Wed, 13 Sep 2017) | 13 lines SplitEmptyFunction should be true in the Mozilla coding style Summary: As defined here: https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Coding_Style#Classes See for the downstream bug report: https://bugzilla.mozilla.org/show_bug.cgi?id=1399359 Reviewers: Typz, djasper Reviewed By: Typz Subscribers: klimek, cfe-commits Differential Revision: https://reviews.llvm.org/D37795 ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_50@318858 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent ae610a2 commit 64309d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Format/Format.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ static FormatStyle expandPresets(const FormatStyle &Style) {
506506
Expanded.BraceWrapping.AfterFunction = true;
507507
Expanded.BraceWrapping.AfterStruct = true;
508508
Expanded.BraceWrapping.AfterUnion = true;
509-
Expanded.BraceWrapping.SplitEmptyFunction = false;
509+
Expanded.BraceWrapping.SplitEmptyFunction = true;
510510
Expanded.BraceWrapping.SplitEmptyRecord = false;
511511
break;
512512
case FormatStyle::BS_Stroustrup:

0 commit comments

Comments
 (0)