diff options
author | François Dumont <fdumont@gcc.gnu.org> | 2017-01-10 12:38:42 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2017-01-10 12:38:42 +0000 |
commit | f9a27859dffe12c32364e2d7be40d2142e85c5f0 (patch) | |
tree | 349d9a3e975a301c7525eea270832328bbfca32b /gcc/config.gcc | |
parent | ad730facfbf77c30042b711802b1aff317e2b8e2 (diff) | |
download | gcc-f9a27859dffe12c32364e2d7be40d2142e85c5f0.zip gcc-f9a27859dffe12c32364e2d7be40d2142e85c5f0.tar.gz gcc-f9a27859dffe12c32364e2d7be40d2142e85c5f0.tar.bz2 |
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.
Co-Authored-By: Jonathan Wakely <jwakely@redhat.com>
From-SVN: r244262
Diffstat (limited to 'gcc/config.gcc')
0 files changed, 0 insertions, 0 deletions