Go to file
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 Adding lvalue and rvalue reference type matchers 2013-03-07 15:44:40 +00:00
clang-tools-extra Have LoopConvert use 'auto &&' where necessary 2013-03-07 16:22:05 +00:00
compiler-rt Take the GCDA version string as an input to llvm_gcda_start_file. 2013-03-07 08:28:54 +00:00
debuginfo-tests Harden this test a bit to work on the mac with ancient gdbs. 2013-01-17 20:09:50 +00:00
libclc Update the copyright coredits -- Happy new year 2013! 2013-01-01 10:00:19 +00:00
libcxx No functionality change at this time. I've split _LIBCPP_VISIBLE up into two flags: _LIBCPP_TYPE_VIS and _LIBCPP_FUNC_VIS. This is in preparation for taking advantage of clang's new __type_visibility__ attribute. 2013-03-06 23:30:19 +00:00
libcxxabi Bruce Mitchener: Typo fixes. 2013-02-15 15:48:49 +00:00
lld [ELF] Order weak symbols properly 2013-03-06 21:59:27 +00:00
lldb Added new properties to lldb.SBModule classes: 2013-03-07 03:25:11 +00:00
llvm R600/SI: rework input interpolation v2 2013-03-07 09:04:14 +00:00
polly Print function names under --polly-report 2013-03-04 19:49:51 +00:00