hanchenye-llvm-project/clang-tools-extra/test
Edwin Vane 4f05d7143f Have LoopConvert use 'auto &&' where necessary
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
2013-03-07 16:22:05 +00:00
..
clang-format Adapt test to new clang-format behavior. 2013-02-08 20:04:33 +00:00
cpp11-migrate Have LoopConvert use 'auto &&' where necessary 2013-03-07 16:22:05 +00:00
remove-cstr-calls test/remove-cstr-calls/basic.cpp: Disable again on mingw. It behaves unstable. 2013-01-26 06:39:48 +00:00
CMakeLists.txt Switch from autogenerating tests to using the preprocessor. 2013-03-07 10:09:47 +00:00
Makefile Switch from autogenerating tests to using the preprocessor. 2013-03-07 10:09:47 +00:00
lit.cfg Switch from autogenerating tests to using the preprocessor. 2013-03-07 10:09:47 +00:00
lit.site.cfg.in Switch from autogenerating tests to using the preprocessor. 2013-03-07 10:09:47 +00:00