aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2022-01-05 11:14:02 +0000
committerJonathan Wakely <jwakely@redhat.com>2022-01-05 13:47:02 +0000
commit749ee73406d31c7104c64bb7bf84780dea187d48 (patch)
tree78946bf656cfa693e7b15c47886028b192953318
parent76a45931ab7c831e32cebf13a6317e5e142f8151 (diff)
downloadgcc-749ee73406d31c7104c64bb7bf84780dea187d48.zip
gcc-749ee73406d31c7104c64bb7bf84780dea187d48.tar.gz
gcc-749ee73406d31c7104c64bb7bf84780dea187d48.tar.bz2
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.
-rw-r--r--libstdc++-v3/testsuite/23_containers/forward_list/operations/1.cc8
-rw-r--r--libstdc++-v3/testsuite/23_containers/forward_list/operations/2.cc2
-rw-r--r--libstdc++-v3/testsuite/23_containers/forward_list/operations/3.cc2
-rw-r--r--libstdc++-v3/testsuite/23_containers/forward_list/operations/4.cc2
-rw-r--r--libstdc++-v3/testsuite/23_containers/forward_list/operations/5.cc4
-rw-r--r--libstdc++-v3/testsuite/23_containers/forward_list/operations/6.cc4
-rw-r--r--libstdc++-v3/testsuite/23_containers/forward_list/operations/7.cc4
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 776e672..32b10fc 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 ed6d12a..9885392 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 f0d7cd1..f67ecd1 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 06fa074..92fd0a0 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 9b94f7e..a772c36 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 ed6d7d3..cd3c74b 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 b792282..8036f90 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()
{