]> git.ipfire.org Git - thirdparty/gcc.git/commit
c-family/
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 Sep 2014 17:13:10 +0000 (17:13 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 Sep 2014 17:13:10 +0000 (17:13 +0000)
commitf76a9aa82e9993320e19e5997c92c2a1808ea1b8
treec1f56382a31559ddcfb99ad632527d6e8849d1e8
parent717e52f9e962ba5d7e3759552c3b4dbbc12c4571
c-family/
* c-common.h (enum rid): Add RID_IS_TRIVIALLY_ASSIGNABLE and
RID_IS_TRIVIALLY_CONSTRUCTIBLE.
* c-common.c (c_common_reswords): Add __is_trivially_copyable.
cp/
* cp-tree.h (cp_trait_kind): Add CPTK_IS_TRIVIALLY_ASSIGNABLE and
CPTK_IS_TRIVIALLY_CONSTRUCTIBLE.
* cxx-pretty-print.c (pp_cxx_trait_expression): Likewise.
* parser.c (cp_parser_primary_expression): Likewise.
(cp_parser_trait_expr): Likewise.  Handle variadic trait.
* semantics.c (trait_expr_value): Likewise.
(finish_trait_expr): Likewise.
(check_trait_type): Handle variadic trait.  Return bool.
* method.c (build_stub_object): Add rvalue reference here.
(locate_fn_flags): Not here.
(check_nontriv, assignable_expr, constructible_expr): New.
(is_trivially_xible): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215738 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/c-family/ChangeLog
gcc/c-family/c-common.c
gcc/c-family/c-common.h
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/cxx-pretty-print.c
gcc/cp/method.c
gcc/cp/parser.c
gcc/cp/semantics.c
gcc/testsuite/g++.dg/ext/is_trivially_constructible1.C [new file with mode: 0644]