* [committed] libstdc++: Fix typo in comment
@ 2023-11-28 12:43 Jonathan Wakely
0 siblings, 0 replies; 4+ messages in thread
From: Jonathan Wakely @ 2023-11-28 12:43 UTC (permalink / raw)
To: libstdc++, gcc-patches
Tested x86_64-linux. Pushed to trunk.
-- >8 --
libstdc++-v3/ChangeLog:
* include/bits/stl_uninitialized.h: Fix typo in comment.
---
libstdc++-v3/include/bits/stl_uninitialized.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libstdc++-v3/include/bits/stl_uninitialized.h b/libstdc++-v3/include/bits/stl_uninitialized.h
index a9b802774c6..18bc393641b 100644
--- a/libstdc++-v3/include/bits/stl_uninitialized.h
+++ b/libstdc++-v3/include/bits/stl_uninitialized.h
@@ -1119,7 +1119,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
#ifdef __cpp_lib_is_constant_evaluated
if (std::is_constant_evaluated())
{
- // Can't use memcpu. Wrap the pointer so that __relocate_a_1
+ // Can't use memcpy. Wrap the pointer so that __relocate_a_1
// resolves to the non-trivial overload above.
__gnu_cxx::__normal_iterator<_Tp*, void> __out(__result);
__out = std::__relocate_a_1(__first, __last, __out, __alloc);
--
2.42.0
^ permalink raw reply [flat|nested] 4+ messages in thread
* [committed] libstdc++: Fix typo in comment
[not found] <2f774778-00f1-b5f1-ace1-6efec29275c6@jguk.org>
@ 2023-03-13 10:35 ` Jonathan Wakely
0 siblings, 0 replies; 4+ messages in thread
From: Jonathan Wakely @ 2023-03-13 10:35 UTC (permalink / raw)
To: libstdc++, gcc-patches; +Cc: Jonny Grant
Pushed to trunk.
-- >8 --
Reported by Jonny Grant.
libstdc++-v3/ChangeLog:
* include/bits/allocator.h: Fix typo in comment.
---
libstdc++-v3/include/bits/allocator.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libstdc++-v3/include/bits/allocator.h b/libstdc++-v3/include/bits/allocator.h
index be67789c1cd..abbd753d33d 100644
--- a/libstdc++-v3/include/bits/allocator.h
+++ b/libstdc++-v3/include/bits/allocator.h
@@ -62,7 +62,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
// Since C++20 the primary template should be used for allocator<void>,
// but then it would have a non-trivial default ctor and dtor for C++20,
- // but trivial for C++98-17, which would be an ABI incompatibiliy between
+ // but trivial for C++98-17, which would be an ABI incompatibility between
// different standard dialects. So C++20 still uses the allocator<void>
// explicit specialization, with the historical ABI properties, but with
// the same members that are present in the primary template.
--
2.39.2
^ permalink raw reply [flat|nested] 4+ messages in thread
* [committed] libstdc++: Fix typo in comment
@ 2022-01-21 16:10 Jonathan Wakely
0 siblings, 0 replies; 4+ messages in thread
From: Jonathan Wakely @ 2022-01-21 16:10 UTC (permalink / raw)
To: libstdc++, gcc-patches
Tested powerpc64le-linux, pushed to trunk.
libstdc++-v3/ChangeLog:
* testsuite/20_util/shared_ptr/cons/array.cc: Fix comment.
---
libstdc++-v3/testsuite/20_util/shared_ptr/cons/array.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/array.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/array.cc
index 7dc0c619333..d69d90bd71d 100644
--- a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/array.cc
+++ b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/array.cc
@@ -143,7 +143,7 @@ test08()
VERIFY( count == 0 );
}
-// Converting constrcutor
+// Converting constructor
void
test09()
--
2.31.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [committed] libstdc++: Fix typo in comment
@ 2021-04-22 15:08 Jonathan Wakely
0 siblings, 0 replies; 4+ messages in thread
From: Jonathan Wakely @ 2021-04-22 15:08 UTC (permalink / raw)
To: libstdc++, gcc-patches
[-- Attachment #1: Type: text/plain, Size: 131 bytes --]
libstdc++-v3/ChangeLog:
* config/os/gnu-linux/os_defines.h: Fix type in comment.
Tested powerpc64le-linux. Committed to trunk.
[-- Attachment #2: patch.txt --]
[-- Type: text/plain, Size: 821 bytes --]
commit 19aa9bc9897955817622574e62b53b24ae0837e9
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Thu Apr 22 15:48:29 2021
libstdc++: Fix typo in comment
libstdc++-v3/ChangeLog:
* config/os/gnu-linux/os_defines.h: Fix type in comment.
diff --git a/libstdc++-v3/config/os/gnu-linux/os_defines.h b/libstdc++-v3/config/os/gnu-linux/os_defines.h
index 64f78df8eef..d5bb2a1886e 100644
--- a/libstdc++-v3/config/os/gnu-linux/os_defines.h
+++ b/libstdc++-v3/config/os/gnu-linux/os_defines.h
@@ -33,7 +33,7 @@
// System-specific #define, typedefs, corrections, etc, go here. This
// file will come before all others.
-// This keeps isanum, et al from being propagated as macros.
+// This keeps isalnum, et al from being propagated as macros.
#define __NO_CTYPE 1
#include <features.h>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-11-28 12:44 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-28 12:43 [committed] libstdc++: Fix typo in comment Jonathan Wakely
[not found] <2f774778-00f1-b5f1-ace1-6efec29275c6@jguk.org>
2023-03-13 10:35 ` Jonathan Wakely
-- strict thread matches above, loose matches on Subject: below --
2022-01-21 16:10 Jonathan Wakely
2021-04-22 15:08 Jonathan Wakely
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).