This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/71497] Warning text for -Wmisleading-indentation


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]