[PATCH] D24027: [LLVM/Support] - Make match() method of llvm::Regex to be const

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 31 06:51:10 PDT 2016


>(or remove the side-channel error handling, and have the APIs return errors explicitly instead - the side channel's likely to be accidentally unchecked by many callers, >which is probably a mistake)

This will require many changes in places uses Regex in llvm code. At the same time I am not sure it is worth doing
that as we might want to switch to std::regex as soon as compilers versions we support implements that.
I would probably leave it as is then.

George.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160831/d4e90305/attachment.html>


More information about the llvm-commits mailing list