invoke.texi (-Wimplicit-fallthrough): Document FALLTHRU comment style changes.
authorJakub Jelinek <jakub@redhat.com>
Sat, 8 Oct 2016 10:53:05 +0000 (12:53 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sat, 8 Oct 2016 10:53:05 +0000 (12:53 +0200)
commit81b02905b035e7afee46c38186c95434b6d86813
tree4947622b51f5c1b8e380d14c7173ad3d1d835182
parent7bad794aa005aa3ee52fc9c872051d8346c09a24
invoke.texi (-Wimplicit-fallthrough): Document FALLTHRU comment style changes.

* doc/invoke.texi (-Wimplicit-fallthrough): Document FALLTHRU comment
style changes.

* lex.c (fallthrough_comment_p): Extend to handle more common FALLTHRU
comment styles.

* c-c++-common/Wimplicit-fallthrough-23.c (foo): Add further tests.

From-SVN: r240885
gcc/ChangeLog
gcc/doc/invoke.texi
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/Wimplicit-fallthrough-23.c
libcpp/ChangeLog
libcpp/lex.c