| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Have LoopConvert use 'auto &&' where necessary | Edwin Vane | 2013-03-07 | 1 | -14/+0 |
| | | | | | | | | | | | | | | | | | For iterators where the dereference operator returns by value, LoopConvert should use 'auto &&' in the range-based for loop expression. If the dereference operator returns an rvalue reference, this is deemed too strange and the for loop is not converted. Moved test case from iterator_failing.cpp to iterator.cpp and added extra tests. Fixes PR15437. Reviewer: gribozavr llvm-svn: 176631 | ||||
| * | Adding failing LoopConvert testcase | Edwin Vane | 2013-03-04 | 1 | -0/+14 |
| LoopConvert isn't properly handling iterators whose dereference operator returns by value. This test case demonstrates the failure. See PR15437. llvm-svn: 176437 | |||||

