[llvm-dev] Use C++11 Regular Expressions

Benjamin Kramer via llvm-dev llvm-dev at lists.llvm.org
Mon Oct 12 13:38:29 PDT 2015

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

More information about the llvm-dev mailing list