c++: Change -Weffc++ diagnostic to use "declare" (PR 94698)
authorJonathan Wakely <jwakely@redhat.com>
Wed, 22 Apr 2020 22:18:06 +0000 (23:18 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Wed, 22 Apr 2020 22:19:08 +0000 (23:19 +0100)
commitcf88e25a2274f929d4789ca498fa3834836629c9
treeca66caa0b2a90713ad06f4fe95dbea89520898d3
parentaac39307e8f589dba231083a3e9aa3d0ff302837
c++: Change -Weffc++ diagnostic to use "declare" (PR 94698)

Change the wording again, for the reasons given by Jason in
https://gcc.gnu.org/pipermail/gcc-patches/2020-April/544362.html

PR translation/94698
* class.c (check_field_decls): Change "define" to "declare" in
-Weffc++ diagnostics.
gcc/cp/ChangeLog
gcc/cp/class.c