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

Sean Silva silvas at purdue.edu
Sun Jan 13 12:59:21 PST 2013


On Sun, Jan 13, 2013 at 2:10 PM, Matthieu Monrocq
<matthieu.monrocq at gmail.com> wrote:
> gcc 4.5, MSVC 10, clang 3.1
> - decltype v1.0 [1] + late specified return type
> - lambda v1.0 [2]
> - local types as template arguments
> - r-value 2.0 [3]
> - static_assert
> - built-in type traits

This isn't very encouraging. Anecdotally from what I've seen in LLD
(whose C++11 feature use is bounded only by MSVC 2012), the features
that get the most mileage by a large margin are `auto`, range-for, and
`nullptr`, along with library offerings like unique_ptr<>. Just based
on that, the churn and overhead of imposing new build requirements
doesn't seem worth it at the moment.

-- Sean Silva



More information about the llvm-dev mailing list