gcc/libstdc++-v3
Jonathan Wakely bab0a26de5 PR libstdc++/80276 fix template argument handling in type printers
PR libstdc++/80276
	* python/libstdcxx/v6/printers.py (strip_inline_namespaces): New.
	(get_template_arg_list): New.
	(StdVariantPrinter._template_args): Remove, use get_template_arg_list
	instead.
	(TemplateTypePrinter): Rewrite to work with gdb.Type objects instead
	of strings and regular expressions.
	(add_one_template_type_printer): Adapt to new TemplateTypePrinter.
	(FilteringTypePrinter): Add docstring. Match using startswith. Use
	strip_inline_namespaces instead of strip_versioned_namespace.
	(add_one_type_printer): Prepend namespace to match argument.
	(register_type_printers): Add type printers for char16_t and char32_t
	string types and for types using cxx11 ABI. Update calls to
	add_one_template_type_printer to provide default argument dicts.
	* testsuite/libstdc++-prettyprinters/80276.cc: New test.
	* testsuite/libstdc++-prettyprinters/whatis.cc: Remove tests for
	basic_string<unsigned char> and basic_string<signed char>.
	* testsuite/libstdc++-prettyprinters/whatis2.cc: Duplicate whatis.cc
	to test local variables, without overriding _GLIBCXX_USE_CXX11_ABI.

From-SVN: r256689
2018-01-15 11:13:53 +00:00
..
config re PR libstdc++/81092 (Missing symbols for new std::wstring constructors) 2018-01-14 17:32:20 +00:00
doc Update copyright years. 2018-01-03 11:03:58 +01:00
include re PR libstdc++/83601 (std::regex_replace C++14 conformance issue: escaping in SED mode) 2018-01-14 00:48:30 +00:00
libsupc++ Update copyright years. 2018-01-03 11:03:58 +01:00
po Update copyright years. 2018-01-03 11:03:58 +01:00
python PR libstdc++/80276 fix template argument handling in type printers 2018-01-15 11:13:53 +00:00
scripts Update copyright years. 2018-01-03 11:03:58 +01:00
src PR libstdc++/83626 simplify filesystem::remove and filesystem::remove_all 2018-01-05 23:51:22 +00:00
testsuite PR libstdc++/80276 fix template argument handling in type printers 2018-01-15 11:13:53 +00:00
acinclude.m4 RTEMS: Enable some libstdc++ features 2017-11-21 06:22:13 +00:00
aclocal.m4
ChangeLog PR libstdc++/80276 fix template argument handling in type printers 2018-01-15 11:13:53 +00:00
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog-2015
ChangeLog-2016
ChangeLog-2017 Update copyright years. 2018-01-03 11:03:58 +01:00
config.h.in
configure RTEMS: Enable some libstdc++ features 2017-11-21 06:22:13 +00:00
configure.ac Enable building libstdc++-v3 with Intel CET 2017-11-17 22:28:10 +01:00
configure.host
crossconfig.m4
fragment.am
linkage.m4
Makefile.am Update copyright years. 2018-01-03 11:03:58 +01:00
Makefile.in Enable building libstdc++-v3 with Intel CET 2017-11-17 22:28:10 +01:00
README

file: libstdc++-v3/README

New users may wish to point their web browsers to the file
index.html in the 'doc/html' subdirectory.  It contains brief
building instructions and notes on how to configure the library in
interesting ways.