gcc/libstdc++-v3/testsuite/libstdc++-prettyprinters
Jonathan Wakely a849584587 libstdc++: Add pretty printer for std::atomic
For the atomic specializations for shared_ptr and weak_ptr we can reuse
the existing SharedPointerPrinter, with a small tweak.

libstdc++-v3/ChangeLog:

	* python/libstdcxx/v6/printers.py (SharedPointerPrinter): Add
	support for atomic<shared_ptr<T>> and atomic<weak_ptr<T>>.
	(StdAtomicPrinter): New printer.
	(build_libstdcxx_dictionary): Register new printer.
	* testsuite/libstdc++-prettyprinters/cxx11.cc: Test std::atomic.
	* testsuite/libstdc++-prettyprinters/cxx20.cc: Test atomic smart
	pointers.
2022-04-27 15:48:32 +01:00
..
48362.cc
59161.cc
80276.cc
91997.cc
compat.cc
cxx11.cc libstdc++: Add pretty printer for std::atomic 2022-04-27 15:48:32 +01:00
cxx17.cc
cxx20.cc libstdc++: Add pretty printer for std::atomic 2022-04-27 15:48:32 +01:00
debug_cxx11.cc
debug.cc
filesystem-ts.cc
libfundts.cc
prettyprinters.exp
shared_ptr.cc
simple11.cc
simple.cc
tr1.cc
whatis2.cc
whatis.cc