I noticed that LLVM uses its own regex engine in Regex.h and Regex.cpp. Do the supported compilers for building LLVM have sufficient support for the C++11 regex library that this can be replaced with the standard library implementation? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20151012/f25d3f27/attachment.html>
Benjamin Kramer via llvm-dev
2015-Oct-12 20:38 UTC
[llvm-dev] Use C++11 Regular Expressions
On Mon, Oct 12, 2015 at 10:04 PM, Daniel Dilts via llvm-dev <llvm-dev at lists.llvm.org> wrote:> I noticed that LLVM uses its own regex engine in Regex.h and Regex.cpp. Do > the supported compilers for building LLVM have sufficient support for the > C++11 regex library that this can be replaced with the standard library > implementation?<regex> was added to GCC's libstdc++ in 4.9, we currently support GCC starting from 4.7. I think all other supported compilers have <regex>. - Ben
> > > Do the supported compilers for building LLVM have sufficient support for > the > > C++11 regex library that this can be replaced with the standard library > > implementation? > > <regex> was added to GCC's libstdc++ in 4.9, we currently support GCC > starting from 4.7. I think all other supported compilers have <regex>. > > If I read things correctly from this page (https://gcc.gnu.org/releases.html) and this old post ( http://lists.cs.uiuc.edu/pipermail/llvmdev/2013-October/066847.html), it looks like we might be able to use the C++11 regex library for the 3.9 release. Did I get that right? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20151012/8766da6b/attachment.html>