public inbox for libstdc++@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Clarify <unknown> constness and state
@ 2019-10-16  5:09 François Dumont
  0 siblings, 0 replies; only message in thread
From: François Dumont @ 2019-10-16  5:09 UTC (permalink / raw)
  To: libstdc++, gcc-patches

[-- Attachment #1: Type: text/plain, Size: 240 bytes --]

     * 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


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: debug.patch --]
[-- Type: text/x-patch; name="debug.patch", Size: 604 bytes --]

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",

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-10-16  5:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-16  5:09 [PATCH] Clarify <unknown> constness and state François Dumont

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).