[LLVMdev] Using C++'11 language features in LLVM itself

Joerg Sonnenberger joerg at britannica.bec.de
Tue Jan 8 16:31:58 PST 2013


On Tue, Jan 08, 2013 at 03:45:52PM -0800, Chris Lattner wrote:
> How crazy would it be for us to start using basic C++'11 language
> features (but not C++'11 library features) in LLVM: things like auto,
> rvalue-refs, lambdas, etc?  I think that we can keep things well
> defined with a few simple requirements: language features must be
> supported by MSVC 2010 and later, some version of GCC and later (linux
> folks should pick?), some version of Clang and later (Freebsd folks?).

>From a NetBSD perspective, the real big issue is bootstrapping the
compiler. Natively, that would mean supporting GCC 4.1 and 4.5,
disabling optimisation is acceptable. FreeBSD likely wants to add GCC
4.2 to that last.

Joerg



More information about the llvm-dev mailing list