c-family: Add "nonstatic" to badwords.
authorMarek Polacek <polacek@redhat.com>
Thu, 7 May 2020 18:40:32 +0000 (14:40 -0400)
committerMarek Polacek <polacek@redhat.com>
Thu, 7 May 2020 18:42:38 +0000 (14:42 -0400)
* c-format.c (badwords): Add "nonstatic".

gcc/c-family/ChangeLog
gcc/c-family/c-format.c

index 2e3eb0868316d6768d39a6c13bb6af5b30303d99..711da91e5987ce144fe28d94abb3a7926a338f38 100644 (file)
@@ -1,3 +1,7 @@
+2020-05-07  Marek Polacek  <polacek@redhat.com>
+
+       * c-format.c (badwords): Add "nonstatic".
+
 202-05-07  Jakub Jelinek  <jakub@redhat.com>
 
        PR c/94968
index 33a5b6d3965b30d29234abe7f9c9033ed367589b..77d24ad94e47b7c4889f6731299aea0400d8e978 100644 (file)
@@ -2997,6 +2997,7 @@ static const struct
    NAME ("decl", "declaration"),
    NAME ("enumeral", "enumerated"),
    NAME ("floating point", "floating-point"),
+   NAME ("nonstatic", "non-static"),
    NAME ("non-zero", "nonzero"),
    NAME ("reg", "register"),
    NAME ("stmt", "statement"),