[PATCH] D28224: [libcxx, regex] Throw exception after too many steps.

Tim Shen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 2 22:23:12 PST 2017


timshen updated this revision to Diff 82840.
timshen added a comment.

Detect user defined _LIBCPP_REGEX_COMPLEXITY_FACTOR first.


https://reviews.llvm.org/D28224

Files:
  libcxx/include/regex
  libcxx/test/std/re/re.alg/re.alg.match/exponential.pass.cpp
  libcxx/test/std/re/re.alg/re.alg.search/exponential.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28224.82840.patch
Type: text/x-patch
Size: 6045 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170103/9f5e0d88/attachment.bin>


More information about the cfe-commits mailing list