diff options
author | Daniel Jasper <djasper@google.com> | 2015-05-06 12:48:06 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2015-05-06 12:48:06 +0000 |
commit | eb53668c3501150ad99bd35df604dff3b5c9e079 (patch) | |
tree | 750117685e4d5ff0fbf9a43387b3493006a5dfb5 /clang/unittests/Format/FormatTest.cpp | |
parent | d35f388b49500ca52cd91947abc5cba47e382bf3 (diff) | |
download | bcm5719-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/FormatTest.cpp')
-rw-r--r-- | clang/unittests/Format/FormatTest.cpp | 2 |
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" |