[PATCH] D13431: Document a bug in loop-convert and fix one of its subcases.

Manuel Klimek via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 5 04:11:52 PDT 2015


klimek accepted this revision.
klimek added a comment.
This revision is now accepted and ready to land.

lg


================
Comment at: clang-tidy/modernize/LoopConvertCheck.cpp:529
@@ -527,1 +528,3 @@
             Range = Paren->getSourceRange();
+          } else if (const auto *Uop = Parents[0].get<UnaryOperator>()) {
+            // If we are taking the address of the loop variable, then we must
----------------
Use "UOP".


http://reviews.llvm.org/D13431





More information about the cfe-commits mailing list