[PATCH] Use 'auto const&' for iterators whose deref operator returns a const var
Edwin Vane
edwin.vane at intel.com
Thu May 9 10:27:23 PDT 2013
One small typo to fix. You can commit after fixing the typo without uploading a new revision for review.
================
Comment at: test/cpp11-migrate/LoopConvert/single-iterator.cpp:122
@@ +121,3 @@
+ // s.begin() returns a type 'iterator' which is just a non-const pointer and
+ // differs from cons_iterator only on the const qualification.
+ S s;
----------------
typo: cons_iterator.
http://llvm-reviews.chandlerc.com/D759
More information about the cfe-commits
mailing list