r256390 - in /trunk/libstdc++-v3: ChangeLog pyt...
redi@gcc.gnu.org
redi@gcc.gnu.org
Tue Jan 9 18:49:00 GMT 2018
Author: redi
Date: Tue Jan 9 18:49:57 2018
New Revision: 256390
URL: https://gcc.gnu.org/viewcvs?rev=256390&root=gcc&view=rev
Log:
PR libstdc++/59253 Improve pretty printers for smart pointers
PR libstdc++/59253 (partial)
* python/libstdcxx/v6/printers.py (SmartPtrIterator): Common iterator
type for pointer stored by shared_ptr, weak_ptr and unique_ptr.
(SharedPointerPrinter, UniquePointerPrinter): Treat stored values as
children.
* testsuite/libstdc++-prettyprinters/cxx11.cc: Update expected output
of unique_ptr printer.
* testsuite/libstdc++-prettyprinters/shared_ptr.cc: Update expected
output of shared_ptr printer.
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/python/libstdcxx/v6/printers.py
trunk/libstdc++-v3/testsuite/libstdc++-prettyprinters/cxx11.cc
trunk/libstdc++-v3/testsuite/libstdc++-prettyprinters/shared_ptr.cc
More information about the Libstdc++-cvs
mailing list