Closed
Description
Consider:
$ echo 'struct S { void f() override {}; };' | clang-format -style=chromium
struct S {
void f() override{};
};
Note the missing space between override
and {
.
This only seems to happen when there's a trailing semicolon --- which is of course unnecessary and -Wextra-semi
warns about it --- but it would be nice if clang-format could handle it.