[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 17:21:39 PDT 2023


var-const updated this revision to Diff 555202.
var-const added a comment.

Fix typo


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.555202.patch
Type: text/x-patch
Size: 416 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230901/f994b5da/attachment.bin>


More information about the libcxx-commits mailing list