diff options
author | Ben Hamilton <benhamilton@google.com> | 2018-02-08 01:49:10 +0000 |
---|---|---|
committer | Ben Hamilton <benhamilton@google.com> | 2018-02-08 01:49:10 +0000 |
commit | 3a47fddfd37beb52f139a62c01622bbd97c99412 (patch) | |
tree | f994641977cd8630871c2cb7325ae3204acbb161 /clang/lib/Format/Format.cpp | |
parent | c81d5874a57ab95d370aadde4b9d6addd155c3f0 (diff) | |
download | bcm5719-llvm-3a47fddfd37beb52f139a62c01622bbd97c99412.tar.gz bcm5719-llvm-3a47fddfd37beb52f139a62c01622bbd97c99412.zip |
[clang-format] Set ObjCBinPackProtocolList to Never for google style
Summary:
This is split off from D42650, and sets ObjCBinPackProtocolList
to Never for the google style.
Depends On D42650
Test Plan: New tests added. make -j12 FormatTests && ./tools/clang/unittests/Format/FormatTests
Reviewers: krasimir, jolesiak, stephanemoore
Reviewed By: krasimir, jolesiak, stephanemoore
Subscribers: klimek, cfe-commits, hokein, Wizard
Differential Revision: https://reviews.llvm.org/D42708
llvm-svn: 324553
Diffstat (limited to 'clang/lib/Format/Format.cpp')
-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 90b14e74f97..5fb775a0d33 100644 --- a/clang/lib/Format/Format.cpp +++ b/clang/lib/Format/Format.cpp @@ -710,6 +710,7 @@ FormatStyle getGoogleStyle(FormatStyle::LanguageKind Language) { GoogleStyle.IncludeIsMainRegex = "([-_](test|unittest))?$"; GoogleStyle.IndentCaseLabels = true; GoogleStyle.KeepEmptyLinesAtTheStartOfBlocks = false; + GoogleStyle.ObjCBinPackProtocolList = FormatStyle::BPS_Never; GoogleStyle.ObjCSpaceAfterProperty = false; GoogleStyle.ObjCSpaceBeforeProtocolList = true; GoogleStyle.PointerAlignment = FormatStyle::PAS_Left; |