Commit e439fdf
authored
[clang-format] Treat new expressions as simple functions (#105168)
ccae7b4 improved handling for nested
calls, but this resulted in a lot of changes near `new` expressions.
This patch tries to restore previous behavior around new expressions, by
treating them as simple functions, which seem to align with the concept.
Fixes #105133.1 parent 74b538d commit e439fdf
File tree
2 files changed
+21
-0
lines changed- clang
- lib/Format
- unittests/Format
2 files changed
+21
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
830 | 830 | | |
831 | 831 | | |
832 | 832 | | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
833 | 839 | | |
834 | 840 | | |
835 | 841 | | |
| |||
852 | 858 | | |
853 | 859 | | |
854 | 860 | | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
855 | 864 | | |
856 | 865 | | |
857 | 866 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9383 | 9383 | | |
9384 | 9384 | | |
9385 | 9385 | | |
| 9386 | + | |
| 9387 | + | |
| 9388 | + | |
| 9389 | + | |
| 9390 | + | |
| 9391 | + | |
| 9392 | + | |
| 9393 | + | |
| 9394 | + | |
| 9395 | + | |
| 9396 | + | |
| 9397 | + | |
9386 | 9398 | | |
9387 | 9399 | | |
9388 | 9400 | | |
| |||
0 commit comments