On Tue, Apr 10, 2018 at 12:32 PM, Nathan Sidwell <nat...@acm.org> wrote: > On 04/10/2018 12:00 PM, Jason Merrill wrote: >> >> On Tue, Apr 10, 2018 at 11:06 AM, Nathan Sidwell <nat...@acm.org> wrote: > > >> This is the -Wextra-semi warning that Volker added recently, and your >> patch would break. >> >> Do we want -Wextra-semi to now warn about all empty declarations at >> class/namespace scope, not just after a function definition? > > I don't see why we should warn at all.
It's not on by default, but some people want to get a warning about redundant semicolons. Clang also has this flag. Jason