From 608f8e107d7953c5f1302c54e6301964f7168c97 Mon Sep 17 00:00:00 2001 From: Marek Polacek Date: Thu, 30 May 2019 18:40:17 +0000 Subject: [PATCH] * cp-tree.h (TYPE_HAS_NONTRIVIAL_DESTRUCTOR): Fix a typo. From-SVN: r271788 --- gcc/cp/ChangeLog | 4 ++++ gcc/cp/cp-tree.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 018139b4b4a..ae3db6f0460 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2019-05-30 Marek Polacek + + * cp-tree.h (TYPE_HAS_NONTRIVIAL_DESTRUCTOR): Fix a typo. + 2019-05-31 Paolo Carlini * decl.c (grokdeclarator): Use declarator->id_loc in five diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h index 7a74fd4fac5..edd59d5f000 100644 --- a/gcc/cp/cp-tree.h +++ b/gcc/cp/cp-tree.h @@ -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)) -- 2.30.2