[PATCH] Use 'auto const&' for iterators whose deref operator returns a const var
Ariel Bernal
ariel.j.bernal at intel.com
Thu May 9 08:28:56 PDT 2013
- Fixed tests to verify basic functionality using iterator instead of const_iterator.
- Added new tests to check for const qualification.
- Fixed cases where the variable and the initializer were both of the same type const_iterator (we just use auto in that case).
Hi revane,
http://llvm-reviews.chandlerc.com/D759
CHANGE SINCE LAST DIFF
http://llvm-reviews.chandlerc.com/D759?vs=1891&id=1900#toc
Files:
cpp11-migrate/LoopConvert/LoopActions.cpp
cpp11-migrate/LoopConvert/LoopActions.h
cpp11-migrate/LoopConvert/LoopMatchers.cpp
cpp11-migrate/LoopConvert/LoopMatchers.h
test/cpp11-migrate/LoopConvert/Inputs/structures.h
test/cpp11-migrate/LoopConvert/iterator.cpp
test/cpp11-migrate/LoopConvert/naming-conflict.cpp
test/cpp11-migrate/LoopConvert/nesting.cpp
test/cpp11-migrate/LoopConvert/single-iterator.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D759.4.patch
Type: text/x-patch
Size: 18988 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130509/f4b8f51a/attachment.bin>
More information about the cfe-commits
mailing list