| 40 columns | | |
| >>> Indent line comment in body. | |
| ### Note: The old formatter had a special rule that line comments starting at | |
| ### column 1 would not be indented even if the surrounding code otherwise | |
| ### required it. The new style deliberately does not have that rule. | |
| main() { | |
| // comment | |
| { | |
| // block | |
| { | |
| // nested | |
| } | |
| } | |
| } | |
| <<< | |
| main() { | |
| // comment | |
| { | |
| // block | |
| { | |
| // nested | |
| } | |
| } | |
| } | |
| >>> Don't split return type if comment before. | |
| // Comment. | |
| int f() {;} | |
| <<< | |
| // Comment. | |
| int f() { | |
| ; | |
| } |