diff options
Diffstat (limited to 'gcc/c-family')
-rw-r--r-- | gcc/c-family/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/c-family/c-indentation.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 8ea74d70536..778f8b187f2 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,9 @@ +2017-01-17 David Malcolm <dmalcolm@redhat.com> + + PR c++/71497 + * c-indentation.c (warn_for_misleading_indentation): Use the past + subjunctive in the note. + 2017-01-17 Aldy Hernandez <aldyh@redhat.com> PR c/79116 diff --git a/gcc/c-family/c-indentation.c b/gcc/c-family/c-indentation.c index 78ef16627bb..329f4708345 100644 --- a/gcc/c-family/c-indentation.c +++ b/gcc/c-family/c-indentation.c @@ -608,7 +608,7 @@ warn_for_misleading_indentation (const token_indent_info &guard_tinfo, guard_tinfo_to_string (guard_tinfo))) inform (next_tinfo.location, ("...this statement, but the latter is misleadingly indented" - " as if it is guarded by the %qs"), + " as if it were guarded by the %qs"), guard_tinfo_to_string (guard_tinfo)); } } |