[libcxx-commits] [PATCH] D159249: [libc++] Initialize all member variables of `__state` in `<regex>`

Konstantin Varlamov via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Aug 31 22:14:24 PDT 2023


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGd2232e687317: [libc++] Initialize all member variables of `__state` in `<regex>` (authored by var-const).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D159249

Files:
  libcxx/include/regex


Index: libcxx/include/regex
===================================================================
--- libcxx/include/regex
+++ libcxx/include/regex
@@ -1459,7 +1459,7 @@
     _LIBCPP_INLINE_VISIBILITY
     __state()
         : __do_(0), __first_(nullptr), __current_(nullptr), __last_(nullptr),
-          __node_(nullptr), __flags_() {}
+          __node_(nullptr), __flags_(), __at_first_(false) {}
 };
 
 // __node


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D159249.555252.patch
Type: text/x-patch
Size: 416 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230901/456d219c/attachment.bin>


More information about the libcxx-commits mailing list