Seems reasonable to me, if we really do want this warning.

================
Comment at: include/clang/Basic/DiagnosticSemaKinds.td:23-24
@@ +22,4 @@
+def warn_redundant_loop_iteration : Warning<
+  "variable %0 is both %select{decremented|incremented}1 in the loop header "
+  "and in the loop body">,
+  InGroup<LoopAnalysis>, DefaultIgnore;
----------------
Bikeshed: move "both" after "incremented".


http://llvm-reviews.chandlerc.com/D628
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to