[llvm-dev] Using C++14 code in LLVM

Joerg Sonnenberger via llvm-dev llvm-dev at lists.llvm.org
Sat Oct 1 23:46:37 PDT 2016


On Sun, Oct 02, 2016 at 05:33:40AM +0000, Zachary Turner via llvm-dev wrote:
> While GCC doesn't claim to "fully" support C++14 until 5.2 (which is only
> about 1 year old), you can get all of the above features with GCC 4.9

I do care quite a bit about GCC 4.8 support, since that's what is
shipped with NetBSD 7.

> One potentially added benefit of this is that GCC supports <regex> in 4.9.
> This might allow us to kill of llvm::Regex in favor of standardizing on
> std::regex, as GCC is currently the only supported compiler without a regex
> implementation.

If that is the only argument, we should be able to reuse the libc++
implementation without too much trouble?

Joerg


More information about the llvm-dev mailing list