diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2018-07-19 20:12:37 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2018-07-19 20:12:37 +0100 |
commit | c01f9216b73597b7dc03d9387ac7e21a5089f801 (patch) | |
tree | 0b17f34a924dc77b599a84866d689b54bc86fc97 /gcc/tree-vrp.c | |
parent | 20a0c4e3dc9948b3d182943c8c47d4608c0bec9d (diff) | |
download | gcc-c01f9216b73597b7dc03d9387ac7e21a5089f801.zip gcc-c01f9216b73597b7dc03d9387ac7e21a5089f801.tar.gz gcc-c01f9216b73597b7dc03d9387ac7e21a5089f801.tar.bz2 |
Simplify the base characteristics for some type traits
* include/std/type_traits (__is_member_object_pointer_helper): Use
__not_<is_function<_Tp>>::type instead of integral_constant.
(__is_member_function_pointer_helper): Likewise for
is_function<_Tp>::type.
(is_compund): Likewise for __not_<is_fundamental<_Tp>>::type.
(__do_is_nt_destructible_impl): Use __bool_constant and reindent.
(is_trivially_constructible): Remove redundant use of
is_constructible.
(__is_trivially_copy_assignable_impl): Remove redundant use of
is_copy_assignable.
(__is_trivially_move_assignable_impl): Remove redundant use of
is_move_assignable.
(is_trivially_destructible): Use __bool_constant.
* testsuite/20_util/is_trivially_assignable/value.cc: Add some more
tests for scalar types.
From-SVN: r262889
Diffstat (limited to 'gcc/tree-vrp.c')
0 files changed, 0 insertions, 0 deletions