summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Format/FormatTest.cpp
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2015-05-07 14:19:59 +0000
committerDaniel Jasper <djasper@google.com>2015-05-07 14:19:59 +0000
commit9c95013e8fd3aeccad4d9ab2bab208ed532f05ec (patch)
tree8e8b1e7f3d7f7cd309f91f9d079620e886b4db36 /clang/unittests/Format/FormatTest.cpp
parent1a3bd31e52234d332a3282e7fc2119d3a6527ac6 (diff)
downloadbcm5719-llvm-9c95013e8fd3aeccad4d9ab2bab208ed532f05ec.tar.gz
bcm5719-llvm-9c95013e8fd3aeccad4d9ab2bab208ed532f05ec.zip
clang-format: Improve r236597, Properly indent method calls without inputs.
Before: [aaaaaaaaaaaa(aaaaaa) aaaaaaaaaaaaaaaaaaaa]; After: [aaaaaaaaaaaa(aaaaaa) aaaaaaaaaaaaaaaaaaaa]; llvm-svn: 236730
Diffstat (limited to 'clang/unittests/Format/FormatTest.cpp')
-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 4e33aa9da55..0995bb162a0 100644
--- a/clang/unittests/Format/FormatTest.cpp
+++ b/clang/unittests/Format/FormatTest.cpp
@@ -7186,6 +7186,8 @@ TEST_F(FormatTest, FormatObjCMethodExpr) {
" hints:nil];");
verifyFormat("[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\n"
" aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa];");
+ verifyFormat("[aaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaaaaaa)\n"
+ " aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa];");
verifyFormat(
"scoped_nsobject<NSTextField> message(\n"
OpenPOWER on IntegriCloud