public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/vendors/ARM/heads/arm-struct-reorg-wip)] libstdc++: Fix names of types in comment
@ 2020-07-17 12:44 Tamar Christina
0 siblings, 0 replies; only message in thread
From: Tamar Christina @ 2020-07-17 12:44 UTC (permalink / raw)
To: gcc-cvs, libstdc++-cvs
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-07-17 12:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-17 12:44 [gcc(refs/vendors/ARM/heads/arm-struct-reorg-wip)] libstdc++: Fix names of types in comment Tamar Christina
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).