public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
From: Jonathan Wakely <redi@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org
Subject: [gcc r12-6262] libstdc++: Fix comments in std::forward_list tests
Date: Wed,  5 Jan 2022 13:47:58 +0000 (GMT)	[thread overview]
Message-ID: <20220105134758.EDE63385843F@sourceware.org> (raw)

https://gcc.gnu.org/g:749ee73406d31c7104c64bb7bf84780dea187d48

commit r12-6262-g749ee73406d31c7104c64bb7bf84780dea187d48
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Wed Jan 5 11:14:02 2022 +0000

    libstdc++: Fix comments in std::forward_list tests
    
    libstdc++-v3/ChangeLog:
    
            * testsuite/23_containers/forward_list/operations/1.cc: Fill in
            placeholders in comments.
            * testsuite/23_containers/forward_list/operations/2.cc:
            Likewise.
            * testsuite/23_containers/forward_list/operations/3.cc:
            Likewise.
            * testsuite/23_containers/forward_list/operations/4.cc:
            Likewise.
            * testsuite/23_containers/forward_list/operations/5.cc:
            Likewise.
            * testsuite/23_containers/forward_list/operations/6.cc:
            Likewise.
            * testsuite/23_containers/forward_list/operations/7.cc:
            Likewise.

Diff:
---
 libstdc++-v3/testsuite/23_containers/forward_list/operations/1.cc | 8 ++++----
 libstdc++-v3/testsuite/23_containers/forward_list/operations/2.cc | 2 +-
 libstdc++-v3/testsuite/23_containers/forward_list/operations/3.cc | 2 +-
 libstdc++-v3/testsuite/23_containers/forward_list/operations/4.cc | 2 +-
 libstdc++-v3/testsuite/23_containers/forward_list/operations/5.cc | 4 ++--
 libstdc++-v3/testsuite/23_containers/forward_list/operations/6.cc | 4 ++--
 libstdc++-v3/testsuite/23_containers/forward_list/operations/7.cc | 4 ++--
 7 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/operations/1.cc b/libstdc++-v3/testsuite/23_containers/forward_list/operations/1.cc
index 776e672513d..32b10fc3975 100644
--- a/libstdc++-v3/testsuite/23_containers/forward_list/operations/1.cc
+++ b/libstdc++-v3/testsuite/23_containers/forward_list/operations/1.cc
@@ -17,13 +17,13 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// 23.2.3.n forward_list xxx [lib.forward_list.xxx]
+// C++11 23.3.4.6 Operations [forwardlist.ops]
 
 #include <forward_list>
 #include <testsuite_hooks.h>
 
 // This test verifies the following:
-//   
+//   splice_after for entire list
 void
 test01()
 {
@@ -41,7 +41,7 @@ test01()
 }
 
 // This test verifies the following:
-//   
+//   splice_after for iterator range
 void
 test02()
 {
@@ -70,7 +70,7 @@ test02()
 }
 
 // This test verifies the following:
-//   
+//   splice_after for single element
 void
 test03()
 {
diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/operations/2.cc b/libstdc++-v3/testsuite/23_containers/forward_list/operations/2.cc
index ed6d12ad2bc..9885392df32 100644
--- a/libstdc++-v3/testsuite/23_containers/forward_list/operations/2.cc
+++ b/libstdc++-v3/testsuite/23_containers/forward_list/operations/2.cc
@@ -17,7 +17,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// 23.2.3.n forward_list xxx [lib.forward_list.xxx]
+// C++11 23.3.4.6 Operations [forwardlist.ops]
 
 #include <forward_list>
 #include <testsuite_hooks.h>
diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/operations/3.cc b/libstdc++-v3/testsuite/23_containers/forward_list/operations/3.cc
index f0d7cd1878e..f67ecd13dff 100644
--- a/libstdc++-v3/testsuite/23_containers/forward_list/operations/3.cc
+++ b/libstdc++-v3/testsuite/23_containers/forward_list/operations/3.cc
@@ -17,7 +17,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// 23.2.3.n forward_list xxx [lib.forward_list.xxx]
+// C++11 23.3.4.6 Operations [forwardlist.ops]
 
 #include <forward_list>
 #include <testsuite_hooks.h>
diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/operations/4.cc b/libstdc++-v3/testsuite/23_containers/forward_list/operations/4.cc
index 06fa0742f32..92fd0a006d8 100644
--- a/libstdc++-v3/testsuite/23_containers/forward_list/operations/4.cc
+++ b/libstdc++-v3/testsuite/23_containers/forward_list/operations/4.cc
@@ -17,7 +17,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// 23.2.3.n forward_list xxx [lib.forward_list.xxx]
+// C++11 23.3.4.6 Operations [forwardlist.ops]
 
 #include <forward_list>
 #include <testsuite_hooks.h>
diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/operations/5.cc b/libstdc++-v3/testsuite/23_containers/forward_list/operations/5.cc
index 9b94f7e9c72..a772c36793c 100644
--- a/libstdc++-v3/testsuite/23_containers/forward_list/operations/5.cc
+++ b/libstdc++-v3/testsuite/23_containers/forward_list/operations/5.cc
@@ -17,13 +17,13 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// 23.2.3.n forward_list xxx [lib.forward_list.xxx]
+// C++11 23.3.4.6 Operations [forwardlist.ops]
 
 #include <forward_list>
 #include <testsuite_hooks.h>
 
 // This test verifies the following:
-//   
+//   merge
 void
 test01()
 {
diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/operations/6.cc b/libstdc++-v3/testsuite/23_containers/forward_list/operations/6.cc
index ed6d7d36b8d..cd3c74bd08d 100644
--- a/libstdc++-v3/testsuite/23_containers/forward_list/operations/6.cc
+++ b/libstdc++-v3/testsuite/23_containers/forward_list/operations/6.cc
@@ -17,7 +17,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// 23.2.3.n forward_list xxx [lib.forward_list.xxx]
+// C++11 23.3.4.6 Operations [forwardlist.ops]
 
 #include <forward_list>
 #include <testsuite_hooks.h>
@@ -40,7 +40,7 @@ template<typename Num>
   };
 
 // This test verifies the following:
-//   
+//   sort
 void
 test01()
 {
diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/operations/7.cc b/libstdc++-v3/testsuite/23_containers/forward_list/operations/7.cc
index b7922820dda..8036f90d459 100644
--- a/libstdc++-v3/testsuite/23_containers/forward_list/operations/7.cc
+++ b/libstdc++-v3/testsuite/23_containers/forward_list/operations/7.cc
@@ -17,7 +17,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// 23.2.3.n forward_list xxx [lib.forward_list.xxx]
+// C++11 23.3.4.6 Operations [forwardlist.ops]
 
 #include <forward_list>
 #include <testsuite_hooks.h>
@@ -25,7 +25,7 @@
 #include <algorithm>
 
 // This test verifies the following:
-//   
+//   reverse
 void
 test01()
 {


                 reply	other threads:[~2022-01-05 13:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220105134758.EDE63385843F@sourceware.org \
    --to=redi@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    --cc=libstdc++-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).