[libcxx-commits] [PATCH] D158826: [libc++]Declaring '__asign_view__' as a non noexcept function

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Aug 25 09:26:43 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rG2dc6281b98d0:  [libc++]Declaring '__asign_view__'  as a non noexcept function (authored by Ris-Bali, committed by Mordante).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D158826

Files:
  libcxx/include/__filesystem/path.h


Index: libcxx/include/__filesystem/path.h
===================================================================
--- libcxx/include/__filesystem/path.h
+++ libcxx/include/__filesystem/path.h
@@ -1069,8 +1069,7 @@
 #endif // !_LIBCPP_HAS_NO_LOCALIZATION
 
 private:
-  inline _LIBCPP_HIDE_FROM_ABI path&
-  __assign_view(__string_view const& __s) noexcept {
+  inline _LIBCPP_HIDE_FROM_ABI path& __assign_view(__string_view const& __s) {
     __pn_ = string_type(__s);
     return *this;
   }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158826.553516.patch
Type: text/x-patch
Size: 489 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230825/a7c5e259/attachment.bin>


More information about the libcxx-commits mailing list