This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r226479 - in /trunk/gcc: c-family/ChangeLog c-f...
- From: ppalka at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sun, 02 Aug 2015 17:39:23 -0000
- Subject: r226479 - in /trunk/gcc: c-family/ChangeLog c-f...
Author: ppalka
Date: Sun Aug 2 17:39:23 2015
New Revision: 226479
URL: https://gcc.gnu.org/viewcvs?rev=226479&root=gcc&view=rev
Log:
Improve -Wmisleading-indentation heuristics
gcc/c-family/ChangeLog:
* c-indentation.c (should_warn_for_misleading_indentation):
Improve heuristics.
gcc/testsuite/ChangeLog:
* c-c++-common/Wmisleading-indentation.c: Add more tests.
Modified:
trunk/gcc/c-family/ChangeLog
trunk/gcc/c-family/c-indentation.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/c-c++-common/Wmisleading-indentation.c