gcc/libstdc++-v3/testsuite
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
..
17_intro Update copyright years. 2018-01-03 11:03:58 +01:00
18_support Update copyright years. 2018-01-03 11:03:58 +01:00
19_diagnostics Update copyright years. 2018-01-03 11:03:58 +01:00
20_util PR libstdc++/83607 specialize Boyer-Moore searchers for std::byte 2018-01-04 10:21:29 +00:00
21_strings Update copyright years. 2018-01-03 11:03:58 +01:00
22_locale Update copyright years. 2018-01-03 11:03:58 +01:00
23_containers 2018-01-10 François Dumont <fdumont@gcc.gnu.org> 2018-01-10 16:59:02 +00:00
24_iterators Update copyright years. 2018-01-03 11:03:58 +01:00
25_algorithms Update copyright years. 2018-01-03 11:03:58 +01:00
26_numerics Update copyright years. 2018-01-03 11:03:58 +01:00
27_io Link with correct values-*.o files on Solaris (PR target/40411) 2018-01-12 09:52:53 +00:00
28_regex re PR libstdc++/83601 (std::regex_replace C++14 conformance issue: escaping in SED mode) 2018-01-14 00:48:30 +00:00
29_atomics Update copyright years. 2018-01-03 11:03:58 +01:00
30_threads Update copyright years. 2018-01-03 11:03:58 +01:00
abi Update copyright years. 2018-01-03 11:03:58 +01:00
backward Update copyright years. 2018-01-03 11:03:58 +01:00
config Update copyright years. 2018-01-03 11:03:58 +01:00
data
decimal Update copyright years. 2018-01-03 11:03:58 +01:00
experimental PR libstdc++/83626 handle ENOENT due to filesystem race 2018-01-05 18:02:18 +00:00
ext Update copyright years. 2018-01-03 11:03:58 +01:00
lib Update copyright years. 2018-01-03 11:03:58 +01:00
libstdc++-abi Update copyright years. 2018-01-03 11:03:58 +01:00
libstdc++-dg Update copyright years. 2018-01-03 11:03:58 +01:00
libstdc++-prettyprinters PR libstdc++/80276 fix template argument handling in type printers 2018-01-15 11:13:53 +00:00
libstdc++-xmethods Update copyright years. 2018-01-03 11:03:58 +01:00
performance Update copyright years. 2018-01-03 11:03:58 +01:00
special_functions Update copyright years. 2018-01-03 11:03:58 +01:00
tr1 Update copyright years. 2018-01-03 11:03:58 +01:00
tr2 Update copyright years. 2018-01-03 11:03:58 +01:00
util Update copyright years. 2018-01-03 11:03:58 +01:00
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