[_GLIBCXX_DEBUG] Clarify constness and state <unknown> entries.

* src/c++11/debug.cc (print_field): Replace constness_names <unknown>
	entry with <unknown constness>. Replace state_names <unknown> entry with
	<unknown state>.

From-SVN: r277049
This commit is contained in:
François Dumont 2019-10-16 05:05:27 +00:00
parent 6c1ee90605
commit 8cf9bbd247
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2019-10-16 François Dumont <fdumont@gcc.gnu.org>
* src/c++11/debug.cc (print_field): Replace constness_names <unknown>
entry with <unknown constness>. Replace state_names <unknown> entry with
<unknown state>.
2019-10-11 Jonathan Wakely <jwakely@redhat.com>
* include/Makefile.am: Add new header.

View File

@ -721,7 +721,7 @@ namespace
static const char*
constness_names[_Error_formatter::__last_constness] =
{
"<unknown>",
"<unknown constness>",
"constant",
"mutable"
};
@ -732,7 +732,7 @@ namespace
static const char*
state_names[_Error_formatter::__last_state] =
{
"<unknown>",
"<unknown state>",
"singular",
"dereferenceable (start-of-sequence)",
"dereferenceable",