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

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Aug 31 06:42:14 PDT 2023


ldionne accepted this revision.
ldionne added a comment.
This revision is now accepted and ready to land.

LGTM w/ green CI.



================
Comment at: libcxx/include/regex:1462
         : __do_(0), __first_(nullptr), __current_(nullptr), __last_(nullptr),
-          __node_(nullptr), __flags_() {}
+          __node_(nullptr), __flags_(), __at_first(false) {}
 };
----------------
Typo!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D159249



More information about the libcxx-commits mailing list