[PATCH] Prevent LoopConvert from shadowing already defined variables with the same name as the loop variable.

Ariel Bernal ariel.j.bernal at intel.com
Thu Jun 20 13:22:23 PDT 2013


  - Now it handles using directives, I missed that before.
  - Added tests to verify naming conflicts.

Hi revane, klimek, doug.gregor,

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

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D950?vs=2452&id=2513#toc

Files:
  cpp11-migrate/LoopConvert/VariableNaming.cpp
  test/cpp11-migrate/LoopConvert/naming-conflict.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D950.4.patch
Type: text/x-patch
Size: 10890 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130620/6b434e80/attachment.bin>


More information about the cfe-commits mailing list