diff options
author | Daniel Jasper <djasper@google.com> | 2015-11-04 22:49:32 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2015-11-04 22:49:32 +0000 |
commit | 49dbbdb3b375cf7ad6a46e4797ad67c4fa23e90f (patch) | |
tree | 1feae8c1c02c8416e3e0f9f7cc6d88dd504e8cb4 | |
parent | 421723cdd81bc94aec1adb96ee9d3b505fe6d3a9 (diff) | |
download | bcm5719-llvm-49dbbdb3b375cf7ad6a46e4797ad67c4fa23e90f.tar.gz bcm5719-llvm-49dbbdb3b375cf7ad6a46e4797ad67c4fa23e90f.zip |
clang-format: Turn on wrapping before "else" for WebKit style.
llvm-svn: 252089
-rw-r--r-- | clang/lib/Format/Format.cpp | 1 |
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; |