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

Chris Lattner clattner at apple.com
Sun Oct 27 15:25:22 PDT 2013


On Oct 27, 2013, at 2:20 PM, Aaron Ballman <aaron at aaronballman.com> 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
>>>> 
>>>> This seems overly aggressive to me. Why not start by baselining at
>>>> VC++ 2010, and bump up everything else to match?
>>> 
>>> IIRC the only significant difference among VS 2012 and VS 2010 is range
>>> for loops.
>> 
>> Which is really sad, given how nice they are, but I think it would be huge progress to move LLVM 3.4 to require the VS 2010 feature set (and the corresponding GCC/clang/etc versions).  We can move up to VS 2012 as a second step and second discussion.
> 
> I may be remembering incorrectly, but I thought we already supported
> only VS2010 and higher today.  AFAIK, there are no 2008 build bots as
> part of the process, and I've not seen a 2008-specific patch for
> compatibility in ages.

Even better!  Can we start adopting C++'11 features in LLVM 3.3 then?

-Chris



More information about the cfe-dev mailing list