foo.cc: In function 'void read(T&)':
foo.cc:7:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
7 | for (; isdigit(c); c = getchar()) x = (x << 3) + (x << 1) + c - 48; x *= f;
| ^~~
foo.cc:7:77: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
7 | for (; isdigit(c); c = getchar()) x = (x << 3) + (x << 1) + c - 48; x *= f;
| ^
foo.cc: In function 'void write(T)':
foo.cc:10:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
10 | if (x > 9) write(x / 10); putchar(x % 10 + 48);
| ^~
foo.cc:10:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
10 | if (x > 9) write(x / 10); putchar(x % 10 + 48);
| ^~~~~~~
foo.cc: In function 'void print(T, char)':
foo.cc:13:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
13 | if (x < 0) putchar('-'), x = -x; write(x), putchar(ed);
| ^~
foo.cc:13:42: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
13 | if (x < 0) putchar('-'), x = -x; write(x), putchar(ed);
| ^~~~~