[PATCH] D24123: [Support] - Fix possible crash in match() of llvm::Regex.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 1 03:46:44 PDT 2016


grimar added inline comments.

================
Comment at: lib/Support/Regex.cpp:41
@@ +40,3 @@
+  regex.preg = nullptr;
+  regex.error = REG_BADPAT;
+}
----------------
I moved it here because need to assign REG_BATPAT and dont want include "regex_impl.h" to .h file.


https://reviews.llvm.org/D24123





More information about the llvm-commits mailing list