[llvm-commits] [PATCH] [ADT] Add the range library based on the C++1y proposal.
Michael Spencer
bigcheesegs at gmail.com
Sat Jan 12 16:19:58 PST 2013
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D293.1.patch
Type: text/x-patch
Size: 37133 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130112/284e0025/attachment.bin>
More information about the llvm-commits
mailing list