r234952 - in /trunk/gcc: c-family/ChangeLog c-f...
mpolacek@gcc.gnu.org
mpolacek@gcc.gnu.org
Wed Apr 13 16:28:00 GMT 2016
Author: mpolacek
Date: Wed Apr 13 16:28:46 2016
New Revision: 234952
URL: https://gcc.gnu.org/viewcvs?rev=234952&root=gcc&view=rev
Log:
PR c++/70639
* c-indentation.c (should_warn_for_misleading_indentation): Bail out
for switch statements, too.
* c-c++-common/Wmisleading-indentation-4.c: New test.
Added:
trunk/gcc/testsuite/c-c++-common/Wmisleading-indentation-4.c
Modified:
trunk/gcc/c-family/ChangeLog
trunk/gcc/c-family/c-indentation.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list