blob: 1f38876ca20f59b6a9d4224869097b6524c15de7 [file] [log] [blame]
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() {
;
}