commit | 82c9a0ec12b561140e4026ddf5949417e01c5857 | [log] [tgz] |
---|---|---|
author | Sylvestre Ledru <sylvestre@debian.org> | Wed Sep 13 20:03:29 2017 +0000 |
committer | Sylvestre Ledru <sylvestre@debian.org> | Wed Sep 13 20:03:29 2017 +0000 |
tree | deaf7bb3bb0d60e719dd08b15229f5b417656c1c | |
parent | e7d85688c657d65a5e8bfbefb0a74ee9352f85f1 [diff] [blame] |
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
diff --git a/clang/lib/Format/Format.cpp b/clang/lib/Format/Format.cpp index 42dceb1..bacf92a 100644 --- a/clang/lib/Format/Format.cpp +++ b/clang/lib/Format/Format.cpp
@@ -515,7 +515,7 @@ Expanded.BraceWrapping.AfterFunction = true; Expanded.BraceWrapping.AfterStruct = true; Expanded.BraceWrapping.AfterUnion = true; - Expanded.BraceWrapping.SplitEmptyFunction = false; + Expanded.BraceWrapping.SplitEmptyFunction = true; Expanded.BraceWrapping.SplitEmptyRecord = false; break; case FormatStyle::BS_Stroustrup: