blob: 590b68865c9f331d9b4ed0e3ed04b9ba42fcfb4e [file] [edit]
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
}
}
}
<<< 3.7
main() {
// comment
{
// block
{
// nested
}
}
}
>>> Don't split return type if comment before.
// Comment.
int f() {;}
<<< 3.7
// Comment.
int f() {
;
}