diff options
author | Jason Merrill <jason@redhat.com> | 2014-09-30 13:12:49 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2014-09-30 13:12:49 -0400 |
commit | b752325e946487109cd3301f81b0301d0bad346d (patch) | |
tree | 1ba084fb5f2a0a2907bfb37114205574ba4c6473 /gcc/cp/cxx-pretty-print.c | |
parent | 32f3d0325439d650fef9a2675fbdcb53fa6ee893 (diff) | |
download | gcc-b752325e946487109cd3301f81b0301d0bad346d.zip gcc-b752325e946487109cd3301f81b0301d0bad346d.tar.gz gcc-b752325e946487109cd3301f81b0301d0bad346d.tar.bz2 |
c-common.h (enum rid): Add RID_IS_TRIVIALLY_COPYABLE.
c-family/
* c-common.h (enum rid): Add RID_IS_TRIVIALLY_COPYABLE.
* c-common.c (c_common_reswords): Add __is_trivially_copyable.
cp/
* cp-tree.h (cp_trait_kind): Add CPTK_IS_TRIVIALLY_COPYABLE.
* cxx-pretty-print.c (pp_cxx_trait_expression): Likewise.
* parser.c (cp_parser_primary_expression): Likewise.
(cp_parser_trait_expr): Likewise.
* semantics.c (trait_expr_value): Likewise.
(finish_trait_expr): Likewise.
From-SVN: r215737
Diffstat (limited to 'gcc/cp/cxx-pretty-print.c')
-rw-r--r-- | gcc/cp/cxx-pretty-print.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/cp/cxx-pretty-print.c b/gcc/cp/cxx-pretty-print.c index f0734ec..7b2d7fd 100644 --- a/gcc/cp/cxx-pretty-print.c +++ b/gcc/cp/cxx-pretty-print.c @@ -2393,6 +2393,9 @@ pp_cxx_trait_expression (cxx_pretty_printer *pp, tree t) case CPTK_IS_TRIVIAL: pp_cxx_ws_string (pp, "__is_trivial"); break; + case CPTK_IS_TRIVIALLY_COPYABLE: + pp_cxx_ws_string (pp, "__is_trivially_copyable"); + break; case CPTK_IS_UNION: pp_cxx_ws_string (pp, "__is_union"); break; |