[PATCH] Extend loop variable naming checks

Dmitri Gribenko gribozavr at gmail.com
Thu Mar 7 12:09:18 PST 2013



================
Comment at: test/cpp11-migrate/LoopConvert/naming-alias.cpp:19-20
@@ +18,4 @@
+  // element, and thus we consider the name "t" aliased to the loop.
+  // The extra blank braces are left as a placeholder for after the variable
+  // declaration is deleted.
+  for (int i = 0; i < N; ++i) {
----------------
These braces are not needed with CHECK-NOT in place.


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



More information about the cfe-commits mailing list