diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2018-01-09 21:46:13 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2018-01-09 21:46:13 +0000 |
commit | 8273aa77d4e122fd036b1555b1a6f2496887e481 (patch) | |
tree | bc03ad244623172d08b5c2628d2d373fd440eb55 /gcc | |
parent | ee6019ce5d3bc7e80ab1d8b8d2fbad3351ff778b (diff) | |
download | gcc-8273aa77d4e122fd036b1555b1a6f2496887e481.zip gcc-8273aa77d4e122fd036b1555b1a6f2496887e481.tar.gz gcc-8273aa77d4e122fd036b1555b1a6f2496887e481.tar.bz2 |
PR libstdc++/80276 fix pretty printers for array smart pointers
PR libstdc++/80276
* python/libstdcxx/v6/printers.py (SharedPointerPrinter)
(UniquePointerPrinter): Print correct template argument, not type of
the pointer.
(TemplateTypePrinter._recognizer.recognize): Handle failure to lookup
a type.
* testsuite/libstdc++-prettyprinters/cxx11.cc: Test unique_ptr of
array type.
* testsuite/libstdc++-prettyprinters/cxx17.cc: Test shared_ptr and
weak_ptr of array types.
From-SVN: r256400
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions