[Bug c++/79727] -Wimplicit-fallthrough=3 doesn't seem to match any comments
peter at eisentraut dot org
gcc-bugzilla@gcc.gnu.org
Wed Mar 8 14:23:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79727
Peter Eisentraut <peter at eisentraut dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |peter at eisentraut dot org
--- Comment #3 from Peter Eisentraut <peter at eisentraut dot org> ---
My general impression is that level =2 looks for substring matches, like
/* fall through because this code is weird */
whereas level =3 only looks for some exact strings, like
/* FALLTHROUGH */
This could be made clearer in the documentation.
More information about the Gcc-bugs
mailing list