aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Basic/VirtualFileSystemTest.cpp
diff options
context:
space:
mode:
authorJacek Olesiak <jolesiak@google.com>2018-05-24 10:50:36 +0000
committerJacek Olesiak <jolesiak@google.com>2018-05-24 10:50:36 +0000
commit34391f097d9350d59d3050bf149c0f536dd460da (patch)
tree642760dfbe9429f661dcdd9d891837fc063d07b3 /clang/unittests/Basic/VirtualFileSystemTest.cpp
parentd0a8ad3ac047bc6badaaf8796eb6c8447c4dbaf9 (diff)
downloadllvm-34391f097d9350d59d3050bf149c0f536dd460da.zip
llvm-34391f097d9350d59d3050bf149c0f536dd460da.tar.gz
llvm-34391f097d9350d59d3050bf149c0f536dd460da.tar.bz2
[clang-format] Fix putting ObjC message arguments in one line for multiline receiver
Summary: Reapply reverted changes from D46879. Currently BreakBeforeParameter is set to true everytime message receiver spans multiple lines, e.g.: ``` [[object block:^{ return 42; }] aa:42 bb:42]; ``` will be formatted: ``` [[object block:^{ return 42; }] aa:42 bb:42]; ``` even though arguments could fit into one line. This change fixes this behavior. Test Plan: make -j12 FormatTests && tools/clang/unittests/Format/FormatTests Reviewers: benhamilton, krasimir Reviewed By: benhamilton, krasimir Subscribers: djasper, klimek, cfe-commits Differential Revision: https://reviews.llvm.org/D47195 llvm-svn: 333171
Diffstat (limited to 'clang/unittests/Basic/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions