[PATCH] D12321: Avoid LoopConvertCheck replacements in template instantiations.

Alexander Kornienko via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 25 08:02:05 PDT 2015


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

Looks good with a comment.


================
Comment at: test/clang-tidy/modernize-loop-convert-extra.cpp:636
@@ +635,3 @@
+       SE = container.end(); SI != SE; ++SI) {
+  }
+}
----------------
Please add a test to ensure that loops over non-dependent container types in templates are still converted.


http://reviews.llvm.org/D12321





More information about the cfe-commits mailing list