Commit 8cf9bbd2 by François Dumont

[_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
parent 6c1ee906
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> 2019-10-11 Jonathan Wakely <jwakely@redhat.com>
* include/Makefile.am: Add new header. * include/Makefile.am: Add new header.
......
...@@ -721,7 +721,7 @@ namespace ...@@ -721,7 +721,7 @@ namespace
static const char* static const char*
constness_names[_Error_formatter::__last_constness] = constness_names[_Error_formatter::__last_constness] =
{ {
"<unknown>", "<unknown constness>",
"constant", "constant",
"mutable" "mutable"
}; };
...@@ -732,7 +732,7 @@ namespace ...@@ -732,7 +732,7 @@ namespace
static const char* static const char*
state_names[_Error_formatter::__last_state] = state_names[_Error_formatter::__last_state] =
{ {
"<unknown>", "<unknown state>",
"singular", "singular",
"dereferenceable (start-of-sequence)", "dereferenceable (start-of-sequence)",
"dereferenceable", "dereferenceable",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment