r256400 - in /trunk/libstdc++-v3: ChangeLog pyt...

redi@gcc.gnu.org redi@gcc.gnu.org
Tue Jan 9 21:46:00 GMT 2018


Author: redi
Date: Tue Jan  9 21:46:13 2018
New Revision: 256400

URL: https://gcc.gnu.org/viewcvs?rev=256400&root=gcc&view=rev
Log:
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.

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/cxx17.cc



More information about the Libstdc++-cvs mailing list