diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-03-31 06:40:39 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-03-31 06:40:39 +0000 |
commit | ca2af7df2471394b33aa59fbccf95f4c4581818d (patch) | |
tree | cdd1f27aaae10888509d5ce06f0f1ca486071e92 /gcc/c-family/ChangeLog | |
parent | 6ee2f129c785f5c508fa5de9d675e037d890867d (diff) | |
download | gcc-ca2af7df2471394b33aa59fbccf95f4c4581818d.tar.gz |
PR libstdc++/80251
c-family/
* c-common.h (enum rid): Add RID_IS_AGGREGATE.
* c-common.c (c_common_reswords): Add __is_aggregate trait.
cp/
* cp-tree.h (enum cp_trait_kind): Add CPTK_IS_AGGREGATE.
* cxx-pretty-print.c (pp_cxx_trait_expression): Handle
CPTK_IS_AGGREGATE.
* semantics.c (trait_expr_value): Handle CPTK_IS_AGGREGATE.
Remove extraneous parens.
(finish_trait_expr): Handle CPTK_IS_AGGREGATE.
* parser.c (cp_parser_primary_expression): Handle RID_IS_AGGREGATE.
(cp_parser_trait_expr): Likewise.
testsuite/
* g++.dg/ext/is_aggregate.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@246609 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-family/ChangeLog')
-rw-r--r-- | gcc/c-family/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 0b543ec52f6..a129f5def77 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,9 @@ +2017-03-31 Jakub Jelinek <jakub@redhat.com> + + PR libstdc++/80251 + * c-common.h (enum rid): Add RID_IS_AGGREGATE. + * c-common.c (c_common_reswords): Add __is_aggregate trait. + 2017-03-27 Jakub Jelinek <jakub@redhat.com> PR middle-end/80162 |