[Bug c++/71497] Warning text for -Wmisleading-indentation
dmalcolm at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jan 17 16:34:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71497
--- Comment #3 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Author: dmalcolm
Date: Tue Jan 17 16:33:44 2017
New Revision: 244536
URL: https://gcc.gnu.org/viewcvs?rev=244536&root=gcc&view=rev
Log:
Fix wording of -Wmisleading-indentation (PR c++/71497)
gcc/c-family/ChangeLog:
PR c++/71497
* c-indentation.c (warn_for_misleading_indentation): Use the past
subjunctive in the note.
gcc/testsuite/ChangeLog:
PR c++/71497
* c-c++-common/Wmisleading-indentation-3.c: Update wording of
expected messages.
* c-c++-common/Wmisleading-indentation.c: Likewise.
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-3.c
trunk/gcc/testsuite/c-c++-common/Wmisleading-indentation.c
More information about the Gcc-bugs
mailing list