Commit 1c9dba2
[clang-format] Break the line within ObjC
after, with style `{ColumnLimit: 60}`
```Objective-C
[objectName
respondsToSelector:
@selector(
somelonglonglonglongnameeeeeeee:
loooooooooanotherlonglonglonglongnametopush:
otherlongnameforlimit:)];
```
before
```Objective-C
[objectName
respondsToSelector:
@selector(
somelonglonglonglongnameeeeeeee:loooooooooanotherlonglonglonglongnametopush:otherlongnameforlimit:)];
```
Fixes llvm#164574.
The stuff inside the parentheses got a new type in 2a05904. I
neglected to add it to the logic for breaking lines.@selector (llvm#164674)1 parent b9b49b6 commit 1c9dba2
File tree
2 files changed
+15
-3
lines changed- clang
- lib/Format
- unittests/Format
2 files changed
+15
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4407 | 4407 | | |
4408 | 4408 | | |
4409 | 4409 | | |
4410 | | - | |
4411 | | - | |
| 4410 | + | |
| 4411 | + | |
| 4412 | + | |
| 4413 | + | |
| 4414 | + | |
| 4415 | + | |
4412 | 4416 | | |
4413 | 4417 | | |
4414 | 4418 | | |
| |||
6291 | 6295 | | |
6292 | 6296 | | |
6293 | 6297 | | |
6294 | | - | |
| 6298 | + | |
| 6299 | + | |
| 6300 | + | |
6295 | 6301 | | |
6296 | 6302 | | |
6297 | 6303 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
949 | 949 | | |
950 | 950 | | |
951 | 951 | | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
952 | 958 | | |
953 | 959 | | |
954 | 960 | | |
| |||
0 commit comments