aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/cxx-pretty-print.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2014-09-30 13:12:49 -0400
committerJason Merrill <jason@gcc.gnu.org>2014-09-30 13:12:49 -0400
commitb752325e946487109cd3301f81b0301d0bad346d (patch)
tree1ba084fb5f2a0a2907bfb37114205574ba4c6473 /gcc/cp/cxx-pretty-print.c
parent32f3d0325439d650fef9a2675fbdcb53fa6ee893 (diff)
downloadgcc-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.c3
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;