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

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jun 2 10:46:20 PDT 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rG7b291b6f5095: [libc++] Fix typo in comment at __optional_storage_base (authored by hawkinsw, committed by Mordante).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D126621/new/

https://reviews.llvm.org/D126621

Files:
  libcxx/include/optional


Index: libcxx/include/optional
===================================================================
--- libcxx/include/optional
+++ libcxx/include/optional
@@ -393,9 +393,9 @@
     }
 };
 
-// optional<T&> is currently required ill-formed, however it may to be in the
-// future. For this reason it has already been implemented to ensure we can
-// make the change in an ABI compatible manner.
+// optional<T&> is currently required to be ill-formed. However, it may
+// be allowed 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>
 struct __optional_storage_base<_Tp, true>
 {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126621.433797.patch
Type: text/x-patch
Size: 679 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220602/af1e1bb2/attachment.bin>


More information about the libcxx-commits mailing list