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

Manuel Klimek klimek at google.com
Tue Jun 18 01:21:19 PDT 2013



================
Comment at: cpp11-migrate/LoopConvert/VariableNaming.cpp:152
@@ +151,3 @@
+    Start = *Parent;
+  } while (1);
+
----------------
This actually looks useful - we might want to get this into a more common library, together with a whole bunch of unit tests (perhaps add a FIXME to that end)


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



More information about the cfe-commits mailing list