diff options
author | Marek Polacek <polacek@redhat.com> | 2019-05-30 18:40:17 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2019-05-30 18:40:17 +0000 |
commit | 608f8e107d7953c5f1302c54e6301964f7168c97 (patch) | |
tree | 45ef4525a8d415acba5488c43829523cad3d27d5 /gcc | |
parent | ed383d79ee753208f0df0cdad55c9cbfb90178d6 (diff) | |
download | gcc-608f8e107d7953c5f1302c54e6301964f7168c97.zip gcc-608f8e107d7953c5f1302c54e6301964f7168c97.tar.gz gcc-608f8e107d7953c5f1302c54e6301964f7168c97.tar.bz2 |
* cp-tree.h (TYPE_HAS_NONTRIVIAL_DESTRUCTOR): Fix a typo.
From-SVN: r271788
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/cp-tree.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 018139b..ae3db6f 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -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 diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h index 7a74fd4..edd59d5 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)) |