formatter.h (_Error_formatter::_M_function): New.
authorFrançois Dumont <fdumont@gcc.gnu.org>
Tue, 8 May 2018 19:41:02 +0000 (19:41 +0000)
committerFrançois Dumont <fdumont@gcc.gnu.org>
Tue, 8 May 2018 19:41:02 +0000 (19:41 +0000)
commita5277405c8ec3cc34a48c1498abcfc3145046477
tree09b24aa95a0be23379b9f508ae725c5434a3bfae
parent9f171abdbcdb944e317ddee480d62b4dc7ce6cbf
formatter.h (_Error_formatter::_M_function): New.

2018-05-08  François Dumont  <fdumont@gcc.gnu.org>

* include/debug/formatter.h (_Error_formatter::_M_function): New.
(_Error_formatter(const char*, unsigned int)): Adapt.
(_Error_formatter::_M_at): Rename in...
(_Error_formatter::_S_at): ...that and adapt.
* include/debug/macros.h (_GLIBCXX_DEBUG_VERIFY_AT_F): New.
(_GLIBCXX_DEBUG_VERIFY_AT, _GLIBCXX_DEBUG_VERIFY): Adapt.
* src/c++11/debug.cc (_Error_formatter::_M_error): Render _M_function
when available.

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