public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
From: Aldy Hernandez <aldyh@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org
Subject: [gcc/devel/ranger] libstdc++: Fix names of types in comment
Date: Wed, 17 Jun 2020 18:44:41 +0000 (GMT)	[thread overview]
Message-ID: <20200617184441.9EF2F394CC08@sourceware.org> (raw)

https://gcc.gnu.org/g:38660e87f01dbe15082e83cc4842d66f8d292ba0

commit 38660e87f01dbe15082e83cc4842d66f8d292ba0
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Sun Feb 9 13:58:16 2020 +0000

    libstdc++: Fix names of types in comment
    
            * testsuite/20_util/function_objects/range.cmp/equal_to.cc: Fix
            comment.
            * testsuite/20_util/function_objects/range.cmp/less.ccL Likewise.

Diff:
---
 libstdc++-v3/ChangeLog                                                | 4 ++++
 libstdc++-v3/testsuite/20_util/function_objects/range.cmp/equal_to.cc | 2 +-
 libstdc++-v3/testsuite/20_util/function_objects/range.cmp/less.cc     | 2 +-
 3 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index cc23523f57a..d3c704ad0e8 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,5 +1,9 @@
 2020-02-09  Jonathan Wakely  <jwakely@redhat.com>
 
+	* testsuite/20_util/function_objects/range.cmp/equal_to.cc: Fix
+	comment.
+	* testsuite/20_util/function_objects/range.cmp/less.ccL Likewise.
+
 	* include/std/ranges: Fix non-ASCII characters in comment.
 
 	* include/bits/range_cmp.h (__detail::__eq_builtin_ptr_cmp): Require
diff --git a/libstdc++-v3/testsuite/20_util/function_objects/range.cmp/equal_to.cc b/libstdc++-v3/testsuite/20_util/function_objects/range.cmp/equal_to.cc
index 34f8ee5aca4..2d87b60a8ea 100644
--- a/libstdc++-v3/testsuite/20_util/function_objects/range.cmp/equal_to.cc
+++ b/libstdc++-v3/testsuite/20_util/function_objects/range.cmp/equal_to.cc
@@ -75,7 +75,7 @@ struct Y
   operator int() const;
 };
 
-// X{} == X{} is ambiguous so ranges::equal_to{}(X{}, X{}) should be invalid
+// Y{} == Y{} is ambiguous so ranges::equal_to{}(Y{}, Y{}) should be invalid
 static_assert( !std::is_invocable_v<F&, Y, Y> );
 
 int
diff --git a/libstdc++-v3/testsuite/20_util/function_objects/range.cmp/less.cc b/libstdc++-v3/testsuite/20_util/function_objects/range.cmp/less.cc
index bf7d600e7fe..8c04ad4ea6b 100644
--- a/libstdc++-v3/testsuite/20_util/function_objects/range.cmp/less.cc
+++ b/libstdc++-v3/testsuite/20_util/function_objects/range.cmp/less.cc
@@ -80,7 +80,7 @@ struct Y
   operator int() const;
 };
 
-// X{} == X{} is ambiguous so ranges::less{}(X{}, X{}) should be invalid
+// Y{} == Y{} is ambiguous so ranges::less{}(Y{}, Y{}) should be invalid
 static_assert( !std::is_invocable_v<F&, Y, Y> );
 
 int


                 reply	other threads:[~2020-06-17 18:44 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=20200617184441.9EF2F394CC08@sourceware.org \
    --to=aldyh@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).