[PATCH] Use 'auto' with 'new' expressions

Edwin Vane edwin.vane at intel.com
Mon Feb 11 08:49:00 PST 2013


Hi klimek,

For variable declarations initialized with new expressions, use 'auto'
for the type specifier.
- Some slight refactoring.
- Added a new test case.

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

Files:
  cpp11-migrate/UseAuto/UseAuto.cpp
  cpp11-migrate/UseAuto/UseAutoActions.cpp
  cpp11-migrate/UseAuto/UseAutoActions.h
  cpp11-migrate/UseAuto/UseAutoMatchers.cpp
  cpp11-migrate/UseAuto/UseAutoMatchers.h
  test/cpp11-migrate/UseAuto/new.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D393.1.patch
Type: text/x-patch
Size: 8108 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130211/6b812831/attachment.bin>


More information about the cfe-commits mailing list