Clarify <unknown> constness and state

Message ID 9180cebd-bd30-ef29-0513-461eeb3514bb@gmail.com
State New
Headers show
Series
  • Clarify <unknown> constness and state
Related show

Commit Message

François Dumont Oct. 16, 2019, 5:09 a.m.
* src/c++11/debug.cc (print_field): Replace constness_names <unknown>
     entry with <unknown constness>. Replace state_names <unknown> entry 
with
     <unknown state>.

Committed as trivial.

François

Patch

Index: src/c++11/debug.cc
===================================================================
--- src/c++11/debug.cc	(révision 277048)
+++ src/c++11/debug.cc	(copie de travail)
@@ -721,7 +721,7 @@ 
 	    static const char*
 	      constness_names[_Error_formatter::__last_constness] =
 	      {
-		"<unknown>",
+		"<unknown constness>",
 		"constant",
 		"mutable"
 	      };
@@ -732,7 +732,7 @@ 
 	    static const char*
 	      state_names[_Error_formatter::__last_state] =
 	      {
-		"<unknown>",
+		"<unknown state>",
 		"singular",
 		"dereferenceable (start-of-sequence)",
 		"dereferenceable",