[cfe-dev] [cfe-commits] [PATCH] C++0x range-based for loop

Richard Smith richard at metafoo.co.uk
Mon Apr 18 08:55:14 PDT 2011


Hi,

On Mon, April 18, 2011 11:28, Jonathan Sauer wrote:
>> Please let me know what more needs doing!
>
> Very nice work! I just tried it out by "rangifying" some loops in
> existing code, but unfortunately stumpled upon a bug when using
> range-based for loops with a non-STL collection and -Wuninitialized
> resulted in a crashing clang: <http://llvm.org/bugs/show_bug.cgi?id=9741>

Thanks for reporting this! I've fixed this in r129700 (along with a couple
of other minor things I found while looking for this bug).

Richard





More information about the cfe-dev mailing list