[libcxx-commits] [PATCH] D126621: [libc++] Fix typo in comment at __optional_storage_base

Will Hawkins via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sun May 29 17:17:16 PDT 2022


hawkinsw created this revision.
Herald added a project: All.
hawkinsw requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

Small typo fix(es) for struct definition of __optional_storage_base for
a reference type.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D126621

Files:
  libcxx/include/optional


Index: libcxx/include/optional
===================================================================
--- libcxx/include/optional
+++ libcxx/include/optional
@@ -393,7 +393,7 @@
     }
 };
 
-// optional<T&> is currently required ill-formed, however it may to be in the
+// optional<T&> is currently required to be ill-formed, however it may be in the
 // future. For this reason it has already been implemented to ensure we can
 // make the change in an ABI compatible manner.
 template <class _Tp>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126621.432809.patch
Type: text/x-patch
Size: 497 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220530/049d49a3/attachment.bin>


More information about the libcxx-commits mailing list