Skip to content

Commit 421a74d

Browse files
committed
Fix some spelling mistakes
1 parent 4ffaea7 commit 421a74d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+56
-56
lines changed

CMake/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ And finally install:
170170
cmake --build /temporary/build/abseil-cpp --target install
171171
```
172172

173-
# CMake Option Synposis
173+
# CMake Option Synopsis
174174

175175
## Enable Standard CMake Installation
176176

UPGRADES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# C++ Upgrade Tools
22

3-
Abseil may occassionally release API-breaking changes. As noted in our
3+
Abseil may occasionally release API-breaking changes. As noted in our
44
[Compatibility Guidelines][compatibility-guide], we will aim to provide a tool
55
to do the work of effecting such API-breaking changes, when absolutely
66
necessary.

absl/base/attributes.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@
331331
// This functionality is supported by GNU linker.
332332
#ifndef ABSL_ATTRIBUTE_SECTION_VARIABLE
333333
#ifdef _AIX
334-
// __attribute__((section(#name))) on AIX is achived by using the `.csect` psudo
334+
// __attribute__((section(#name))) on AIX is achieved by using the `.csect` psudo
335335
// op which includes an additional integer as part of its syntax indcating
336336
// alignment. If data fall under different alignments then you might get a
337337
// compilation error indicating a `Section type conflict`.

absl/base/internal/exception_safety_testing.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -946,7 +946,7 @@ class ExceptionSafetyTest {
946946
* `std::unique_ptr<T> operator()() const` where T is the type being tested.
947947
* It is used for reliably creating identical T instances to test on.
948948
*
949-
* - Operation: The operation object (passsed in via tester.WithOperation(...)
949+
* - Operation: The operation object (passed in via tester.WithOperation(...)
950950
* or tester.Test(...)) must be invocable with the signature
951951
* `void operator()(T*) const` where T is the type being tested. It is used
952952
* for performing steps on a T instance that may throw and that need to be

absl/base/internal/thread_identity_test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ TEST(ThreadIdentityTest, BasicIdentityWorksThreaded) {
9595
}
9696

9797
TEST(ThreadIdentityTest, ReusedThreadIdentityMutexTest) {
98-
// This test repeatly creates and joins a series of threads, each of
98+
// This test repeatedly creates and joins a series of threads, each of
9999
// which acquires and releases shared Mutex locks. This verifies
100100
// Mutex operations work correctly under a reused
101101
// ThreadIdentity. Note that the most likely failure mode of this

absl/container/inlined_vector.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -745,7 +745,7 @@ class InlinedVector {
745745
// Erases the element at `pos`, returning an `iterator` pointing to where the
746746
// erased element was located.
747747
//
748-
// NOTE: may return `end()`, which is not dereferencable.
748+
// NOTE: may return `end()`, which is not dereferenceable.
749749
iterator erase(const_iterator pos) {
750750
ABSL_HARDENING_ASSERT(pos >= begin());
751751
ABSL_HARDENING_ASSERT(pos < end());
@@ -757,7 +757,7 @@ class InlinedVector {
757757
// range [`from`, `to`), returning an `iterator` pointing to where the first
758758
// erased element was located.
759759
//
760-
// NOTE: may return `end()`, which is not dereferencable.
760+
// NOTE: may return `end()`, which is not dereferenceable.
761761
iterator erase(const_iterator from, const_iterator to) {
762762
ABSL_HARDENING_ASSERT(from >= begin());
763763
ABSL_HARDENING_ASSERT(from <= to);

absl/container/inlined_vector_benchmark.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ void BM_StdVectorFill(benchmark::State& state) {
6666
BENCHMARK(BM_StdVectorFill)->Range(1, 256);
6767

6868
// The purpose of the next two benchmarks is to verify that
69-
// absl::InlinedVector is efficient when moving is more efficent than
69+
// absl::InlinedVector is efficient when moving is more efficient than
7070
// copying. To do so, we use strings that are larger than the short
7171
// string optimization.
7272
bool StringRepresentedInline(std::string s) {

absl/container/internal/common_policy_traits.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ struct common_policy_traits {
8787
}
8888

8989
private:
90-
// To rank the overloads below for overload resoltion. Rank0 is preferred.
90+
// To rank the overloads below for overload resolution. Rank0 is preferred.
9191
struct Rank2 {};
9292
struct Rank1 : Rank2 {};
9393
struct Rank0 : Rank1 {};

absl/container/internal/container_memory.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ decltype(std::declval<F>()(std::declval<T>())) WithConstructed(
165165
std::forward<F>(f));
166166
}
167167

168-
// Given arguments of an std::pair's consructor, PairArgs() returns a pair of
168+
// Given arguments of an std::pair's constructor, PairArgs() returns a pair of
169169
// tuples with references to the passed arguments. The tuples contain
170170
// constructor arguments for the first and the second elements of the pair.
171171
//

absl/container/internal/inlined_vector.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1050,7 +1050,7 @@ template <typename NotMemcpyPolicy>
10501050
void Storage<T, N, A>::SwapInlinedElements(NotMemcpyPolicy policy,
10511051
Storage* other) {
10521052
// Note: `destroy` needs to use pre-swap allocator while `construct` -
1053-
// post-swap allocator. Allocators will be swaped later on outside of
1053+
// post-swap allocator. Allocators will be swapped later on outside of
10541054
// `SwapInlinedElements`.
10551055
Storage* small_ptr = this;
10561056
Storage* large_ptr = other;

0 commit comments

Comments
 (0)