diff options
author | Jacek Olesiak <jolesiak@google.com> | 2018-05-17 08:35:15 +0000 |
---|---|---|
committer | Jacek Olesiak <jolesiak@google.com> | 2018-05-17 08:35:15 +0000 |
commit | b48d65ca757f8d7199b6a7825cb100b95c5d9781 (patch) | |
tree | ff68e6bff0b21d5c5e178f41509da79dbaf96297 /lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallUserDefinedFunction.py | |
parent | c10788728bb5f15bff2c080e75831e3d710aa8f9 (diff) | |
download | bcm5719-llvm-b48d65ca757f8d7199b6a7825cb100b95c5d9781.tar.gz bcm5719-llvm-b48d65ca757f8d7199b6a7825cb100b95c5d9781.zip |
[clang-format] Fix putting ObjC message arguments in one line for multiline receiver
Summary:
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, djasper
Reviewed By: benhamilton
Subscribers: klimek, cfe-commits
Differential Revision: https://reviews.llvm.org/D46879
llvm-svn: 332582
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallUserDefinedFunction.py')
0 files changed, 0 insertions, 0 deletions