[cfe-dev] Range-based for loops and auto variables in clang/LLVM source code

David Blaikie dblaikie at gmail.com
Mon Oct 21 23:23:57 PDT 2013


On Mon, Oct 21, 2013 at 11:09 PM, Yaron Keren <yaron.keren at gmail.com> wrote:

> Is it OK to use range-based for loops clang/LLVM source code?
>
> And auto variables:
>   In general?
>   As loop iterator?
>

Currently Clang and LLVM are written in C++98, so none of these constructs
are acceptable.

There are some macros used to apply C++11 features conditionally (override,
 rvalue refs, move, etc)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20131021/aaaf51d3/attachment.html>


More information about the cfe-dev mailing list