Skip to content

Commit 82c9a0e

Browse files
committedSep 13, 2017
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 llvm-svn: 313182
1 parent e7d8568 commit 82c9a0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎clang/lib/Format/Format.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ static FormatStyle expandPresets(const FormatStyle &Style) {
515515
Expanded.BraceWrapping.AfterFunction = true;
516516
Expanded.BraceWrapping.AfterStruct = true;
517517
Expanded.BraceWrapping.AfterUnion = true;
518-
Expanded.BraceWrapping.SplitEmptyFunction = false;
518+
Expanded.BraceWrapping.SplitEmptyFunction = true;
519519
Expanded.BraceWrapping.SplitEmptyRecord = false;
520520
break;
521521
case FormatStyle::BS_Stroustrup:

0 commit comments

Comments
 (0)