summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Format
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2015-05-06 12:48:06 +0000
committerDaniel Jasper <djasper@google.com>2015-05-06 12:48:06 +0000
commiteb53668c3501150ad99bd35df604dff3b5c9e079 (patch)
tree750117685e4d5ff0fbf9a43387b3493006a5dfb5 /clang/unittests/Format
parentd35f388b49500ca52cd91947abc5cba47e382bf3 (diff)
downloadbcm5719-llvm-eb53668c3501150ad99bd35df604dff3b5c9e079.tar.gz
bcm5719-llvm-eb53668c3501150ad99bd35df604dff3b5c9e079.zip
clang-format: Properly indent method calls without inputs.
Before: [aaaaaaaaaaa aaaaaaa]; After: [aaaaaaaaaaa aaaaaaa]; llvm-svn: 236597
Diffstat (limited to 'clang/unittests/Format')
-rw-r--r--clang/unittests/Format/FormatTest.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/unittests/Format/FormatTest.cpp b/clang/unittests/Format/FormatTest.cpp
index ea15312eb5c..c0441495b8b 100644
--- a/clang/unittests/Format/FormatTest.cpp
+++ b/clang/unittests/Format/FormatTest.cpp
@@ -7144,6 +7144,8 @@ TEST_F(FormatTest, FormatObjCMethodExpr) {
" fraction:1.0\n"
" respectFlipped:NO\n"
" hints:nil];");
+ verifyFormat("[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\n"
+ " aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa];");
verifyFormat(
"scoped_nsobject<NSTextField> message(\n"
OpenPOWER on IntegriCloud