[LLVMdev] [cfe-dev] RFC: A proposal to move toward using C++11 features in LLVM & Clang / bounding support for old host compilers

Joerg Sonnenberger joerg at britannica.bec.de
Sun Oct 27 11:30:46 PDT 2013


On Sun, Oct 27, 2013 at 02:24:58AM -0700, Chandler Carruth wrote:
> > Now for the carrot: if we go with this plan, then immediately after
> > branching for 3.4,  we would be able to use the vast majority of C++11
> > features, targeting the following as the oldest toolchains supported
> > through the 3.5 release timeframe:
> >
> > GCC 4.7
> > Clang 3.1
> > VS 2012
> >
> > Some notable features we would get to use:
> >
> > - r-value references, move semantics, etc
> > - auto
> > - range for loops
> > - lambdas
> > - static_assert
> > - nullptr
> > - std::unique_ptr, std::tuple, some other nice library stuff

It would be nice to keep the list to things that don't require too much
support from the STL implementation. Locale support and std::thread in
the various forms are a real show stopper for bootstrapping otherwise.

Joerg



More information about the llvm-dev mailing list