[_GLIBCXX_DEBUG] Clarify constness and state <unknown> entries.
authorFrançois Dumont <fdumont@gcc.gnu.org>
Wed, 16 Oct 2019 05:05:27 +0000 (05:05 +0000)
committerFrançois Dumont <fdumont@gcc.gnu.org>
Wed, 16 Oct 2019 05:05:27 +0000 (05:05 +0000)
* 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

libstdc++-v3/ChangeLog
libstdc++-v3/src/c++11/debug.cc

index 8119455e1addcce44a96bda188109dee1ea2ac97..02b743414dd19265ed98f205c82e5324a63fb80c 100644 (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.
index efd1a9e0254329520e926939dd7610e148a56186..39f99fcd261572d8f58416948bf443a7ded664f2 100644 (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",