formatter.h (_GLIBCXX_TYPEID): New macro to simplify usage of typeid.
authorFrançois Dumont <fdumont@gcc.gnu.org>
Wed, 20 May 2015 19:44:25 +0000 (19:44 +0000)
committerFrançois Dumont <fdumont@gcc.gnu.org>
Wed, 20 May 2015 19:44:25 +0000 (19:44 +0000)
commitfa5cc2db547120c41a1f1708039ad54b9dd171ea
treef5218ba270e7073028ba36b20d617c7859270d6a
parent1476d1bd020588ee81d1384354cf533c88849a3a
formatter.h (_GLIBCXX_TYPEID): New macro to simplify usage of typeid.

2015-05-20  François Dumont  <fdumont@gcc.gnu.org>

* include/debug/formatter.h (_GLIBCXX_TYPEID): New macro to simplify
usage of typeid.
(_Error_formatter::_M_print_type): New.
* src/c++11/debug.cc
(_Error_formatter::_Parameter::_M_print_field): Use latter.
(_Error_formatter::_M_print_type): Implement latter using
__cxaabiv1::__cxa_demangle to print demangled type name.

From-SVN: r223455
libstdc++-v3/ChangeLog
libstdc++-v3/include/debug/formatter.h
libstdc++-v3/src/c++11/debug.cc