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

Sean Silva silvas at purdue.edu
Tue Jan 8 16:37:32 PST 2013


On Tue, Jan 8, 2013 at 7:26 PM, Jeffrey Yasskin <jyasskin at googlers.com> wrote:
> The C++ proposal changes rapidly. While it would be great to get usage
> experience from LLVM in order to inform the C++ proposal, I don't have
> "what will eventually be in C++" to propose for LLVM. Well, I'd expect
> some "range<IteratorType>" template with .begin() and .end() methods,
> but I don't even know what name that template will have.

Ah, I wasn't aware that it wasn't mostly stabilized. As you pointed
out, this isn't critical, so we don't need to rush it then.

> I'm not sure this part of the discussion is on-topic for Chris's
> thread, since it's not related to a potential problem with enabling
> C++ language features. (Not having a range type doesn't make
> range-based for loops fail to compile on some platform, it just makes
> them slightly less useful.)

It's not critical. That was mostly a side note about the "code
cleanup" aspect of Chris's message. It has come up during LLD
development so I though it might be worth putting out there.

-- Sean Silva



More information about the llvm-dev mailing list