summaryrefslogtreecommitdiffstats
path: root/clang/lib/Format
diff options
context:
space:
mode:
authorBen Hamilton <benhamilton@google.com>2018-06-14 17:30:10 +0000
committerBen Hamilton <benhamilton@google.com>2018-06-14 17:30:10 +0000
commit1ab722ed17d35ebd7de80c8f9facefce819f3f40 (patch)
tree69e4ea6814d50b9c6b3db67ec1543be811508099 /clang/lib/Format
parentbdb0a58c91d0ff716bba49820d2a7fa007243c09 (diff)
downloadbcm5719-llvm-1ab722ed17d35ebd7de80c8f9facefce819f3f40.tar.gz
bcm5719-llvm-1ab722ed17d35ebd7de80c8f9facefce819f3f40.zip
[clang-format] Disable AlwaysBreakBeforeMultilineStrings in Google style for Objective-C 📜
Contributed by @stephanemoore. Reviewers: benhamilton, jolesiak, djasper Reviewed By: benhamilton Subscribers: klimek, cfe-commits Differential Revision: https://reviews.llvm.org/D47393 llvm-svn: 334739
Diffstat (limited to 'clang/lib/Format')
-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 71fc81ad503..76dfc819507 100644
--- a/clang/lib/Format/Format.cpp
+++ b/clang/lib/Format/Format.cpp
@@ -823,6 +823,7 @@ FormatStyle getGoogleStyle(FormatStyle::LanguageKind Language) {
// has been implemented.
GoogleStyle.BreakStringLiterals = false;
} else if (Language == FormatStyle::LK_ObjC) {
+ GoogleStyle.AlwaysBreakBeforeMultilineStrings = false;
GoogleStyle.ColumnLimit = 100;
}
OpenPOWER on IntegriCloud