[cfe-dev] clang/llvm : implementation language : c++ : which version?
David Chisnall
David.Chisnall at cl.cam.ac.uk
Sun Dec 21 01:08:24 PST 2014
On 21 Dec 2014, at 09:44, Mayuresh Kathe <mayuresh at kathe.in> wrote:
> would that mean "anyone wishing to understand clang/llvm has to know c++11"?
More or less, although LLVM has always aimed to use a 'tasteful subset' of C++. There are a few places where some of the less tasteful bits of C++ are used, but they're generally hidden behind clean interfaces so you probably don't need to look at them.
LLVM does make fairly heavy use of auto and range-based for loops and bits of the C++11 standard library (in particular, std::owning_ptr). I think move constructors are still fairly rare, but they're gradually creeping in.
David
More information about the cfe-dev
mailing list