From: Daniel Jasper Date: Wed, 4 Nov 2015 22:49:32 +0000 (+0000) Subject: clang-format: Turn on wrapping before "else" for WebKit style. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e1a6bbbe9d55033065a329c785b1d8cfec98ab9e;p=clang clang-format: Turn on wrapping before "else" for WebKit style. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@252089 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Format/Format.cpp b/lib/Format/Format.cpp index 4b998c764b..c1a3019415 100644 --- a/lib/Format/Format.cpp +++ b/lib/Format/Format.cpp @@ -425,6 +425,7 @@ static FormatStyle expandPresets(const FormatStyle &Style) { break; case FormatStyle::BS_WebKit: Expanded.BraceWrapping.AfterFunction = true; + Expanded.BraceWrapping.BeforeElse = true; break; default: break;