aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-if-conv.c
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2016-10-19 10:34:57 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2016-10-19 10:34:57 +0100
commite182393e31609b0d1474cea18c69bbb6c287ae6b (patch)
tree5bd7a9125561990d1679f5f2e5d2216001012d16 /gcc/tree-if-conv.c
parente7a3e0c653be4bd32f116dae06438896b7dc915b (diff)
downloadgcc-e182393e31609b0d1474cea18c69bbb6c287ae6b.zip
gcc-e182393e31609b0d1474cea18c69bbb6c287ae6b.tar.gz
gcc-e182393e31609b0d1474cea18c69bbb6c287ae6b.tar.bz2
PR77990 refactor unique_ptr to encapsulate tuple
PR libstdc++/77990 * include/bits/unique_ptr.h (__uniq_ptr_impl): New type to encapsulate implementation details. (unique_ptr::unique_ptr(_Up)): Don't copy deleter object. (unique_ptr::get, unique_ptr::get_deleter, unique_ptr::release): Call member functions of implementation object. (unique_ptr<T[], D>): Likewise. * python/libstdcxx/v6/printers.py (UniquePointerPrinter): Adjust for new implementation. * python/libstdcxx/v6/xmethods.py (UniquePtrGetWorker): Likewise. * testsuite/20_util/unique_ptr/assign/48635_neg.cc: Adjust dg-error lines. * testsuite/20_util/unique_ptr/assign/cv_qual.cc: Likewise. * testsuite/20_util/unique_ptr/cons/cv_qual.cc: Likewise. * testsuite/20_util/unique_ptr/cons/77990.cc: New test. From-SVN: r241330
Diffstat (limited to 'gcc/tree-if-conv.c')
0 files changed, 0 insertions, 0 deletions