summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang/lib/Format/Format.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Format/Format.cpp b/clang/lib/Format/Format.cpp
index 4b998c764be..c1a30194153 100644
--- a/clang/lib/Format/Format.cpp
+++ b/clang/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;
OpenPOWER on IntegriCloud