[PATCH] Fix useAuto replacing variable declaration lists containing non-initialized variables.

Ariel Bernal ariel.j.bernal at intel.com
Thu May 16 12:35:42 PDT 2013


Hi revane,

useAuto used to match initialized variable declarations independently of whether they were defined in a declaration list or as a single declaration. Now it matches declaration statements where every variable declaration is initialized.


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

Files:
  cpp11-migrate/UseAuto/UseAuto.cpp
  cpp11-migrate/UseAuto/UseAutoActions.cpp
  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: D808.1.patch
Type: text/x-patch
Size: 8797 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130516/8683d1ec/attachment.bin>


More information about the cfe-commits mailing list