[llvm-commits] [PATCH] [ADT] Add the range library based on the C++1y proposal.

Jeffrey Yasskin jyasskin at gmail.com
Sat Jan 12 20:08:53 PST 2013


Note that the C++1y proposal likely won't make it into C++ in that
form, so LLVM should feel free to tweak the set of functions as much
as you like.

On Sat, Jan 12, 2013 at 4:19 PM, Michael Spencer <bigcheesegs at gmail.com> wrote:
> Hi chandlerc, jyasskin, rsmith,
>
> This adds a modified version of Jeffery's range library to LLVM.
>
> It is currently C++11 only, and there are checks to ensure it's not used incorrectly.
>
> I would like to add it without C++03 support for now so I can start using it in lld. We can C++03ify it in tree.
>
> There are a few tests disabled on various compilers because I was unable to hunt down the root cause. Most of them only break with full optimizations :(.
>
> http://llvm-reviews.chandlerc.com/D293
>
> Files:
>   include/llvm/ADT/range.h
>   include/llvm/Support/Compiler.h
>   unittests/ADT/CMakeLists.txt
>   unittests/ADT/RangeTest.cpp



More information about the llvm-commits mailing list