[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:27 PST 2017


timshen added a comment.

I defined and exported a macro _LIBCPP_REGEX_COMPLEXITY_FACTOR in the hope that even when the library is shipped to the user, and when the user finds the factor to be inappropriate, they can override it.

I'm not aware of and exported macro policy though, please advice. :)


https://reviews.llvm.org/D28224





More information about the cfe-commits mailing list