Skip to content

Commit 3808566

Browse files
kazutakahiratatomtor
authored andcommitted
[libc++] Fix typos in documentation (llvm#143912)
1 parent cb3165f commit 3808566

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

libcxx/docs/ABIGuarantees.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ significantly.
4040
``_LIBCPP_ABI_NO_ITERATOR_BASES``
4141
---------------------------------
4242
This removes the ``iterator`` base class from ``back_insert_iterator``, ``front_insert_iterator``, ``insert_iterator``,
43-
``istream_iterator``, ``ostream_iterator``, ``ostreambuf_itreator``, ``reverse_iterator``, and ``raw_storage_iterator``.
43+
``istream_iterator``, ``ostream_iterator``, ``ostreambuf_iterator``, ``reverse_iterator``, and ``raw_storage_iterator``.
4444
This doesn't directly affect the layout of these types in most cases, but may result in more padding being used when
4545
they are used in combination, for example ``reverse_iterator<reverse_iterator<T>>``.
4646

@@ -63,7 +63,7 @@ removes these workarounds for platforms that don't care about ABI compatibility.
6363

6464
``_LIBCPP_ABI_NO_COMPRESSED_PAIR_PADDING``
6565
------------------------------------------
66-
This removes artifical padding from ``_LIBCPP_COMPRESSED_PAIR`` and ``_LIBCPP_COMPRESSED_TRIPLE``.
66+
This removes artificial padding from ``_LIBCPP_COMPRESSED_PAIR`` and ``_LIBCPP_COMPRESSED_TRIPLE``.
6767

6868
These macros are used inside the associative and unordered containers, ``deque``, ``forward_list``, ``future``,
6969
``list``, ``basic_string``, ``function``, ``shared_ptr``, ``unique_ptr``, and ``vector`` to stay ABI compatible with the
@@ -83,7 +83,7 @@ flag removes that artificial padding.
8383

8484
Linking TUs which have been compiled against different releases of libc++
8585
=========================================================================
86-
libc++ supports linking TUs which have beeen compiled against different releases of libc++ by marking symbols with
86+
libc++ supports linking TUs which have been compiled against different releases of libc++ by marking symbols with
8787
hidden visibility and changing the mangling of header-only functions in every release.
8888

8989

@@ -104,7 +104,7 @@ behave as the flags say.
104104

105105
Availability of symbols in the built library (both static and shared)
106106
=====================================================================
107-
In general, libc++ does not make any guarantees about forwards-compability. That is, a TU compiled against new headers
107+
In general, libc++ does not make any guarantees about forwards-compatibility. That is, a TU compiled against new headers
108108
may not work with an older library. Vendors who require such support can leverage availability markup. On the other
109109
hand, backwards compatibility is generally guaranteed.
110110

@@ -166,7 +166,7 @@ There are multiple ABI flags which change which type an alias references:
166166

167167
``_LIBCPP_ABI_INCOMPLETE_TYPES_IN_DEQUE``
168168
-----------------------------------------
169-
This changes ``deque::iterator`` to avoid requring complete types for ``deque``.
169+
This changes ``deque::iterator`` to avoid requiring complete types for ``deque``.
170170

171171
``_LIBCPP_ABI_FIX_UNORDERED_CONTAINER_SIZE_TYPE``
172172
-------------------------------------------------
@@ -198,7 +198,7 @@ This changes the value of ``regex_constants::syntax_option-type::ECMAScript`` to
198198
``_LIBCPP_ABI_FIX_CITYHASH_IMPLEMENTATION``
199199
-------------------------------------------
200200
This flag fixes the implementation of CityHash used for ``hash<fundamental-type>``. The incorrect implementation of
201-
CityHash has the roblem that it drops some bits on the floor. Fixing the implementation changes the hash of values,
201+
CityHash has the problem that it drops some bits on the floor. Fixing the implementation changes the hash of values,
202202
resulting in an ABI break.
203203

204204
inline namespaces

0 commit comments

Comments
 (0)