[llvm-commits] [lld] r152269 - in /lld/trunk: ./ include/lld/Core/ include/lld/Platform/ lib/ lib/Core/ lib/Passes/ test/ tools/lld-core/

Chris Lattner clattner at apple.com
Thu Mar 8 14:56:33 PST 2012


On Mar 8, 2012, at 1:56 PM, Michael Spencer wrote:

> On Thu, Mar 8, 2012 at 8:40 AM, Evandro Menezes <emenezes at codeaurora.org> wrote:
>> At the moment, C++11 support is sketchy and there doesn't seem to be any
>> real benefit from requiring C++11 in the code.  I don't think that
>> throwing in minor features of C++11 for C++11's sake is reasonable when
>> so many compilers still hiccup at it with scary warning messages.
>> Rather, I prefer to have the sources built without any warning.
>> 
>> Thanks,
> 
> Clang's, GCC's and MSVC's C++11 support is stable when using the
> features they state are implemented. We will be using more than just
> auto.

I agree.  The goal here isn't to use all the crazy c++'11 features that are poorly supported (e.g. atomics, new memory model, etc).  Things like auto, range iteration, and even lambdas are well supported by a wide range of compilers by now.

-Chris



More information about the llvm-commits mailing list