[PATCH] Introducing initial UseAuto transform

Edwin Vane edwin.vane at intel.com
Mon Feb 11 08:48:15 PST 2013


Hi klimek,

Initial draft of UseAuto replaces the type specifier for declarations of
variables that inherit from std::iterator or have iterator type traits
with the C++11 'auto' keyword.

http://llvm-reviews.chandlerc.com/D392

Files:
  cpp11-migrate/CMakeLists.txt
  cpp11-migrate/Makefile
  cpp11-migrate/Transforms.cpp
  cpp11-migrate/UseAuto/UseAuto.cpp
  cpp11-migrate/UseAuto/UseAuto.h
  cpp11-migrate/UseAuto/UseAutoActions.cpp
  cpp11-migrate/UseAuto/UseAutoActions.h
  cpp11-migrate/UseAuto/UseAutoMatchers.cpp
  cpp11-migrate/UseAuto/UseAutoMatchers.h
  test/cpp11-migrate/UseAuto/iterator.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D392.1.patch
Type: text/x-patch
Size: 18226 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130211/06285524/attachment.bin>


More information about the cfe-commits mailing list