aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppbuiltin.c
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2015-06-17 12:33:31 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2015-06-17 12:33:31 +0100
commit9649e5b62e77adda818b83a9b2fe8fe3fc472d0f (patch)
treecfef7c74317c9bc3a433fcfe7b6fded55112f63a /gcc/cppbuiltin.c
parentc92334d4c5e7cbffa91822ff0305e87eff069296 (diff)
downloadgcc-9649e5b62e77adda818b83a9b2fe8fe3fc472d0f.zip
gcc-9649e5b62e77adda818b83a9b2fe8fe3fc472d0f.tar.gz
gcc-9649e5b62e77adda818b83a9b2fe8fe3fc472d0f.tar.bz2
forward_list.h (forward_list::_M_get_Node_allocator): Remove unnecessary uses of operator& and static_cast.
* include/bits/forward_list.h (forward_list::_M_get_Node_allocator): Remove unnecessary uses of operator& and static_cast. * include/bits/forward_list.tcc (forward_list::operator=(const forward_list&)): Use __addressof instead of operator&. (forward_list::remove(const _Tp&), forward_list::remove(_Pred)): Remove invalid static_casts. * include/debug/forward_list: Use __addressof instead of operator&. * testsuite/23_containers/forward_list/modifiers/addressof.cc: New. From-SVN: r224553
Diffstat (limited to 'gcc/cppbuiltin.c')
0 files changed, 0 insertions, 0 deletions