* cp-tree.h (TYPE_HAS_NONTRIVIAL_DESTRUCTOR): Fix a typo.
authorMarek Polacek <polacek@redhat.com>
Thu, 30 May 2019 18:40:17 +0000 (18:40 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Thu, 30 May 2019 18:40:17 +0000 (18:40 +0000)
From-SVN: r271788

gcc/cp/ChangeLog
gcc/cp/cp-tree.h

index 018139b..ae3db6f 100644 (file)
@@ -1,3 +1,7 @@
+2019-05-30  Marek Polacek  <polacek@redhat.com>
+
+       * cp-tree.h (TYPE_HAS_NONTRIVIAL_DESTRUCTOR): Fix a typo.
+
 2019-05-31  Paolo Carlini  <paolo.carlini@oracle.com>
 
        * decl.c (grokdeclarator): Use declarator->id_loc in five
index 7a74fd4..edd59d5 100644 (file)
@@ -4295,7 +4295,7 @@ more_aggr_init_expr_args_p (const aggr_init_expr_arg_iterator *iter)
 /* Nonzero for _TYPE node means that this type does not have a trivial
    destructor.  Therefore, destroying an object of this type will
    involve a call to a destructor.  This can apply to objects of
-   ARRAY_TYPE is the type of the elements needs a destructor.  */
+   ARRAY_TYPE if the type of the elements needs a destructor.  */
 #define TYPE_HAS_NONTRIVIAL_DESTRUCTOR(NODE) \
   (TYPE_LANG_FLAG_4 (NODE))