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

redi@gcc.gnu.org redi@gcc.gnu.org
Tue Jan 10 12:38:00 GMT 2017


Author: redi
Date: Tue Jan 10 12:38:42 2017
New Revision: 244262

URL: https://gcc.gnu.org/viewcvs?rev=244262&root=gcc&view=rev
Log:
Make Python printers and xmethods work with versioned namespace

2017-01-10  François Dumont  <fdumont@gcc.gnu.org>
	    Jonathan Wakely  <jwakely@redhat.com>

	* python/libstdcxx/v6/printers.py (_versioned_namespace): Define.
	(is_specialization, strip_versioned_namespace): New helpers functions
	to work with symbols in the versioned namespace.
	(Printer.add_version): Add second name using versioned namespace.
	(add_one_template_type_printer, add_one_type_printer): Add second
	type printers using versioned namespace.
	(register_type_printers): Add template type printer for basic_string.
	(build_libstdcxx_dictionary): Remove dead code.
	* python/libstdcxx/v6/xmethods.py: Make all matchers look for
	versioned namespace.
	* testsuite/libstdc++-prettyprinters/48362.cc: Adjust expected
	results.
	* testsuite/libstdc++-prettyprinters/whatis.cc: Likewise.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/python/libstdcxx/v6/printers.py
    trunk/libstdc++-v3/python/libstdcxx/v6/xmethods.py
    trunk/libstdc++-v3/testsuite/libstdc++-prettyprinters/48362.cc
    trunk/libstdc++-v3/testsuite/libstdc++-prettyprinters/whatis.cc



More information about the Libstdc++-cvs mailing list