From 851d1ba6d2c13c8e7d060568bbd52a3e140bcd1a Mon Sep 17 00:00:00 2001 From: fdumont Date: Wed, 16 Oct 2019 05:05:27 +0000 Subject: [PATCH] [_GLIBCXX_DEBUG] Clarify constness and state entries. * src/c++11/debug.cc (print_field): Replace constness_names entry with . Replace state_names entry with . git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@277049 138bc75d-0d04-0410-961f-82ee72b054a4 --- libstdc++-v3/ChangeLog | 6 ++++++ libstdc++-v3/src/c++11/debug.cc | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 8119455e1add..02b743414dd1 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2019-10-16 François Dumont + + * src/c++11/debug.cc (print_field): Replace constness_names + entry with . Replace state_names entry with + . + 2019-10-11 Jonathan Wakely * include/Makefile.am: Add new header. diff --git a/libstdc++-v3/src/c++11/debug.cc b/libstdc++-v3/src/c++11/debug.cc index efd1a9e02543..39f99fcd2615 100644 --- a/libstdc++-v3/src/c++11/debug.cc +++ b/libstdc++-v3/src/c++11/debug.cc @@ -721,7 +721,7 @@ namespace static const char* constness_names[_Error_formatter::__last_constness] = { - "", + "", "constant", "mutable" }; @@ -732,7 +732,7 @@ namespace static const char* state_names[_Error_formatter::__last_state] = { - "", + "", "singular", "dereferenceable (start-of-sequence)", "dereferenceable", -- 2.47.2