]> git.ipfire.org Git - thirdparty/gcc.git/commit - libcpp/lex.c
* doc/invoke.texi (-Wimplicit-fallthrough): Document FALLTHRU comment
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 8 Oct 2016 10:53:05 +0000 (10:53 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 8 Oct 2016 10:53:05 +0000 (10:53 +0000)
commitae691a108427ad9885d894f18ed098714741a720
tree4947622b51f5c1b8e380d14c7173ad3d1d835182
parentad0c1decc996ebbb1807dc4d1f7f944ab0ba23da
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@240885 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/doc/invoke.texi
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/Wimplicit-fallthrough-23.c
libcpp/ChangeLog
libcpp/lex.c